diff options
author | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-05-04 07:03:29 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-05-04 07:03:29 +0000 |
commit | 9090972ad669cb40634a2d9e683953a4e20af34d (patch) | |
tree | 24c4d8d1765857bbb0b25d3f1123e602c300f04d /debian/rules-ssl | |
parent | Releasing debian version 0.1.10+0.1.11pre+kokb23-4 (diff) | |
download | w3m-9090972ad669cb40634a2d9e683953a4e20af34d.tar.gz w3m-9090972ad669cb40634a2d9e683953a4e20af34d.zip |
Releasing debian version 0.3-2.4debian/0.3-2.4
Diffstat (limited to 'debian/rules-ssl')
-rw-r--r-- | debian/rules-ssl | 44 |
1 files changed, 25 insertions, 19 deletions
diff --git a/debian/rules-ssl b/debian/rules-ssl index 8697624..423a978 100644 --- a/debian/rules-ssl +++ b/debian/rules-ssl @@ -6,6 +6,8 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +export DH_COMPAT=3 + nossl: @echo change to nossl version... @cd debian && for i in *-nossl; do \ @@ -23,19 +25,21 @@ ssl: include debian/rules.mk build: build-stamp -build-stamp: setup-ja setup-en +build-stamp: configure-stamp dh_testdir - sed -f debian/config.ssl.sed < debian/config.h-ja > $(buildjadir)/config.h - cd $(buildjadir) && $(MAKE) - sed -f debian/config.ssl.sed < debian/config.h-en > $(buildendir)/config.h - cd $(buildendir) && $(MAKE) + (echo "# Configuration at "`hostname`; cat debian/config.param) > $(buildjadir)/config.param + cd $(buildjadir) && ./configure -yes -model=monster -lang=JA -clfags="-O2 -DDEBIAN" -code=E --gc-includedir=/usr/include/gc --ssl-includedir=/usr/include/openssl --mimetypes=/etc/mime.types + cd $(buildjadir) && LC_ALL=C $(MAKE) OPTS="-Wall -g" + (echo "# Configuration at "`hostname`; cat debian/config.param) > $(buildendir)/config.param + cd $(buildendir) && ./configure -yes -model=monster -lang=EN -cflags="-O2 -DDEBIAN" --gc-includedir=/usr/include/gc --ssl-includedir=/usr/include/openssl --mimetypes=/etc/mime.types + cd $(buildendir) && LC_ALL=C $(MAKE) OPTS="-Wall -g" touch build-stamp clean: dh_testdir dh_testroot rm -rf $(buildtree) - rm -f extract-stamp patch-stamp build-stamp install-stamp + rm -f extract-stamp patch-stamp configure-stamp build-stamp install-stamp rm -f debian/docs debian/examples dh_clean @@ -45,16 +49,16 @@ install-stamp: build-stamp dh_testroot dh_clean -k dh_installdirs - install -m 755 -s $(buildendir)/w3m `pwd`/debian/tmp/usr/bin/w3m-ssl-en - install -m 755 -s $(buildjadir)/w3m `pwd`/debian/tmp/usr/bin/w3m-ssl-ja + install -m 755 -s $(buildendir)/w3m `pwd`/debian/w3m-ssl/usr/bin/w3m-ssl-en + install -m 755 -s $(buildjadir)/w3m `pwd`/debian/w3m-ssl/usr/bin/w3m-ssl-ja touch install-stamp # Build architecture-independent files here. -binary-indep: build install +binary-indep: build-stamp install-stamp # We have nothing to do by default. # Build architecture-dependent files here. -binary-arch: build install +binary-arch: build-stamp install-stamp # dh_testversion dh_testdir dh_testroot @@ -64,23 +68,25 @@ binary-arch: build install # dh_installemacsen # dh_installinit # dh_installcron -# dh_installmanpages - install -m 644 $(builddir)/doc-jp/HISTORY.kokb `pwd`/debian/tmp/usr/share/doc/w3m-ssl/changelog.w3m-kokb - dh_installchangelogs $(builddir)/doc/HISTORY +# dh_installman $(builddir)/doc/w3m.1 +# install -m 644 $(builddir)/doc-jp/HISTORY.kokb `pwd`/debian/w3m-ssl/usr/share/doc/w3m-ssl/changelog.w3m-kokb + #dh_installchangelogs $(builddir)/doc/HISTORY + dh_installchangelogs $(builddir)/ChangeLog dh_strip dh_compress - (cd debian/tmp/usr/share/doc/w3m-ssl; ls -1) | while read file; do \ + (cd debian/w3m-ssl/usr/share/doc/w3m-ssl; ls -1) | while read file; do \ case $$file in changelog*|copyright*|README.Debian) continue;; esac;\ - test -d debian/tmp/usr/share/doc/w3m-ssl/$$file && continue; \ - rm -f debian/tmp/usr/share/doc/w3m-ssl/$$file; \ + test -d debian/w3m-ssl/usr/share/doc/w3m-ssl/$$file && continue; \ + rm -f debian/w3m-ssl/usr/share/doc/w3m-ssl/$$file; \ dh_link usr/share/doc/w3m/$$file usr/share/doc/w3m-ssl/$$file; \ done - dh_link usr/share/w3m/examples usr/share/w3m-ssl/examples - dh_link usr/share/w3m/ja usr/share/w3m-ssl/ja + dh_link usr/share/doc/w3m/examples usr/share/doc/w3m-ssl/examples + dh_link usr/share/doc/w3m/ja usr/share/doc/w3m-ssl/ja dh_link usr/share/man/man1/w3m.1.gz usr/share/man/man1/w3m-ssl-ja.1.gz dh_link usr/share/man/man1/w3m.1.gz usr/share/man/man1/w3m-ssl-en.1.gz + dh_link usr/share/man/ja/man1/w3m.1.gz usr/share/man/ja/man1/w3m-ssl-ja.1.gz + dh_link usr/share/man/ja/man1/w3m.1.gz usr/share/man/ja/man1/w3m-ssl-en.1.gz dh_fixperms - dh_suidregister dh_installdeb dh_shlibdeps dh_gencontrol |