X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Frules;h=62a6be332fcde9d868f7da665ceaf54545e6832c;hb=171864b77e58b0a2158e7ce816d865c94c083cf4;hp=6627b158275cfa673c6d15341357d81158e3bc24;hpb=19002d5ed0d6cc48c1bd3044d37720bf28354655;p=ctsim.git diff --git a/debian/rules b/debian/rules index 6627b15..62a6be3 100755 --- a/debian/rules +++ b/debian/rules @@ -34,7 +34,8 @@ pixmap-dir := usr/share/pixmaps configure: configure-stamp configure-stamp: dh_testdir - # Add here commands to configure the package. + touch configure.in && touch aclocal.m4 && touch configure + ./configure --prefix=$(DESTDIR)/usr --mandir=$(DESTDIR)/usr/share/man --datadir=$(HELPDIR) --with-ctn touch configure-stamp @@ -66,6 +67,9 @@ clean: -$(MAKE) distclean find . -type f -and -name \*~ -or -name .\*~ -exec rm -f {} \; rm -f debian/ctsim.postinst.* debian/ctsim.prerm.* + # Ensure up-to-date versions of config.sub and config.guess + -test -r /usr/share/misc/config.sub && cp -f /usr/share/misc/config.sub config.sub + -test -r /usr/share/misc/config.guess && cp -f /usr/share/misc/config.guess config.guess dh_clean install: DH_OPTIONS=