utf8proc
diff Makefile @ 10:00d2bcbdc945
Version 1.1.4
- replaced C++ style comments for compatibility reasons
- added typecasts to suppress compiler warnings
- removed redundant source files for ruby-gemfile generation
- Changed copyright notice for Public Software Group e. V.
- Minor changes in the README file
- replaced C++ style comments for compatibility reasons
- added typecasts to suppress compiler warnings
- removed redundant source files for ruby-gemfile generation
- Changed copyright notice for Public Software Group e. V.
- Minor changes in the README file
| author | jbe |
|---|---|
| date | Wed Aug 19 12:00:00 2009 +0200 (2009-08-19) |
| parents | 951e73a98021 |
| children | 15450ff3d454 |
line diff
1.1 --- a/Makefile Fri May 01 12:00:00 2009 +0200 1.2 +++ b/Makefile Wed Aug 19 12:00:00 2009 +0200 1.3 @@ -15,11 +15,13 @@ 1.4 1.5 pgsql-library: pgsql/utf8proc_pgsql.so 1.6 1.7 -all: c-library ruby-library pgsql-library 1.8 +all: c-library ruby-library ruby-gem pgsql-library 1.9 1.10 clean:: 1.11 rm -f utf8proc.o libutf8proc.a libutf8proc.so 1.12 cd ruby/ && test -e Makefile && (make clean && rm -f Makefile) || true 1.13 + rm -Rf ruby/gem/lib ruby/gem/ext 1.14 + rm -f ruby/gem/utf8proc-*.gem 1.15 cd pgsql/ && make clean 1.16 1.17 # real targets 1.18 @@ -45,6 +47,21 @@ 1.19 ruby/utf8proc_native.c ruby/Makefile 1.20 cd ruby && make 1.21 1.22 +ruby/gem/lib/utf8proc.rb: ruby/utf8proc.rb 1.23 + test -e ruby/gem/lib || mkdir ruby/gem/lib 1.24 + cp ruby/utf8proc.rb ruby/gem/lib/ 1.25 + 1.26 +ruby/gem/ext/extconf.rb: ruby/extconf.rb 1.27 + test -e ruby/gem/ext || mkdir ruby/gem/ext 1.28 + cp ruby/extconf.rb ruby/gem/ext/ 1.29 + 1.30 +ruby/gem/ext/utf8proc_native.c: utf8proc.h utf8proc_data.c utf8proc.c ruby/utf8proc_native.c 1.31 + test -e ruby/gem/ext || mkdir ruby/gem/ext 1.32 + cat utf8proc.h utf8proc_data.c utf8proc.c ruby/utf8proc_native.c | grep -v '#include "utf8proc.h"' | grep -v '#include "utf8proc_data.c"' | grep -v '#include "../utf8proc.c"' > ruby/gem/ext/utf8proc_native.c 1.33 + 1.34 +ruby-gem:: ruby/gem/lib/utf8proc.rb ruby/gem/ext/extconf.rb ruby/gem/ext/utf8proc_native.c 1.35 + cd ruby/gem && gem build utf8proc.gemspec 1.36 + 1.37 pgsql/utf8proc_pgsql.so: utf8proc.h utf8proc.c utf8proc_data.c \ 1.38 pgsql/utf8proc_pgsql.c 1.39 cd pgsql && make