Changeset 6686 for debian/rules
- Timestamp:
- 09/04/05 15:51:05 (3 years ago)
- Files:
-
- 1 modified
-
debian/rules (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
debian/rules
r6598 r6686 1 1 #!/usr/bin/make -f 2 2 3 CFLAGS = -Wall -g 3 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) 4 CFLAGS = optimized 5 else 6 CFLAGS = unoptimized 7 endif 4 8 5 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) 6 CFLAGS += -O0 7 else 8 CFLAGS += -O2 9 endif 9 TESTS='smoke-all' 10 10 11 11 configure: configure-stamp … … 19 19 build-arch: build-arch-stamp 20 20 build-arch-stamp: configure-stamp 21 $(MAKE) optimized 22 -test ($$SKIP_TESTS) || $(MAKE) test 23 pod2man --section=1 --release="Debian Project" --center="Debian GNU/Linux manual" $(CURDIR)/lib/pugs/run.pod $(CURDIR)/debian/pugs.1 21 $(MAKE) $(CFLAGS) 22 -test $$SKIP_TESTS || $(MAKE) $(TESTS) 23 -if [ ! $$DONT_SEND_SMOKE ]; then \ 24 for html in $(CURDIR)/*smoke.html; do \ 25 ./util/smokeserv/smokeserv-client.pl $$html; \ 26 done; \ 27 fi 24 28 pod2man --section=1 --release="Debian Project" --center="Debian GNU/Linux manual" $(CURDIR)/script/pugscc $(CURDIR)/debian/pugscc.1 25 29 touch build-arch-stamp … … 41 45 dh_testroot 42 46 dh_installdirs 43 dh_install -i --sourcedir=$(CURDIR)/debian/tmp 47 dh_install -i --sourcedir=$(CURDIR)/debian/tmp --list-missing 44 48 cp -r $(CURDIR)/docs/* $(CURDIR)/debian/pugs-doc/usr/share/doc/pugs-doc/ 49 cp $(CURDIR)/debian/pugs-modules.lintian-overrides $(CURDIR)/debian/pugs-modules/usr/share/lintian/overrides/pugs-modules 45 50 rm -f $(CURDIR)/debian/pugs-doc/usr/share/doc/pugs-doc/SEEALSO 46 find $(CURDIR)/debian/pugs-doc/ -type f -size 0 -exec rm -f {} \;47 51 48 52 install-arch: … … 52 56 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp 53 57 cp util/perl6.vim $(CURDIR)/debian/pugs/usr/share/vim/vim63/syntax/ 54 dh_install -s --sourcedir=$(CURDIR)/debian/tmp 58 dh_install -s --sourcedir=$(CURDIR)/debian/tmp --list-missing 55 59 rm -f $(CURDIR)/debian/pugs/usr/lib/perl6/5.8/CORE/pugs/gen_prelude \ 56 60 $(CURDIR)/debian/pugs/usr/lib/perl6/5.8/CORE/pugs/Pugs/Rule/LICENSE \ … … 66 70 dh_installdocs -i 67 71 dh_installexamples -i examples/* 72 rm -f $(CURDIR)/debian/pugs-doc/usr/share/doc/pugs-doc/examples/hop6/LICENSE.txt 73 find $(CURDIR)/debian/pugs-doc/ -type f -size 0 -exec rm -f {} \; 68 74 dh_installman -i 69 75 dh_link -i … … 84 90 dh_installchangelogs -a ChangeLog 85 91 dh_installdocs -a 86 dh_installman -a debian/pugs .1 debian/pugscc.192 dh_installman -a debian/pugscc.1 87 93 dh_link -a 88 94 dh_compress -a
