X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debian%2Frules;h=ad4b6a5c4cee629ed06434a1861e81f10a5cb70f;hb=738538cb6cb11b2c399f68ffcc55b89b2501a38a;hp=48a40e571971f52d2d3e4150ac08393420b6f4b9;hpb=e4098159566cf249d306e89cc0e6a3953499ea14;p=class_modular.git%2F.git diff --git a/debian/rules b/debian/rules index 48a40e5..ad4b6a5 100755 --- a/debian/rules +++ b/debian/rules @@ -32,19 +32,18 @@ build: build-stamp build-stamp: dh_testdir - # Add commands to compile the package here $(PERL) Makefile.PL INSTALLDIRS=vendor - $(MAKE) OPTIMIZE="$(CFLAGS)" - + $(MAKE) + $(MAKE) test + touch build-stamp clean: dh_testdir dh_testroot - # Add commands to clean up after the build process here -$(MAKE) distclean - + dh_clean build-stamp install-stamp install: install-stamp @@ -53,9 +52,8 @@ install-stamp: build-stamp dh_testroot dh_clean -k - #$(MAKE) test - $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr - + $(MAKE) install PREFIX=$(TMP)/usr + # As this is a architecture independent package, we are not supposed to install # stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb: rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5 @@ -71,8 +69,8 @@ binary-indep: build install # dh_installcron # dh_installmenu # dh_installexamples - dh_installdocs .svn/README.txt lib/.svn/README.txt lib/Class/.svn/README.txt t/.svn/README.txt - dh_installchangelogs + dh_installdocs + dh_installchangelogs CHANGES dh_perl dh_link dh_strip