X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Frules;h=2312a367267fe4658ef218719fb37f2536b9d876;hb=HEAD;hp=342050b23778249d1c96e75b840d5c3625e1286d;hpb=647acda15d0d197a829dbdb928afeadd8800c381;p=cl-photo.git diff --git a/debian/rules b/debian/rules index 342050b..2312a36 100755 --- a/debian/rules +++ b/debian/rules @@ -1,76 +1,44 @@ #!/usr/bin/make -f -pkg := cl-photo -debpkg := cl-photo +pkg := cl-photo +debpkg := cl-photo clc-source := usr/share/common-lisp/source clc-systems := usr/share/common-lisp/systems -clc-photo := $(clc-source)/$(pkg) - +clc-files := $(clc-source)/$(pkg) doc-dir := usr/share/doc/$(debpkg) -configure: configure-stamp -configure-stamp: - dh_testdir - # Add here commands to configure the package. - touch configure-stamp - - -build: build-stamp - -build-stamp: configure-stamp - dh_testdir - # Add here commands to compile the package. - touch build-stamp +build: clean: dh_testdir dh_testroot - rm -f build-stamp configure-stamp - # Add here commands to clean up after the build process. - rm -f debian/cl-photo.postinst.* debian/cl-photo.prerm.* - dh_clean + dh_prep install: build dh_testdir dh_testroot - dh_clean -k - # Add here commands to install the package into debian/photo. - dh_installdirs $(clc-systems) $(clc-photo) $(doc-dir) - dh_install photo.asd $(shell echo *.lisp) $(clc-photo) - dh_link $(clc-photo)/cl-photo.asd $(clc-systems)/cl-photo.asd - -# Build architecture-independent files here. -binary-indep: build install - + dh_prep + dh_installdirs + dh_install cl-photo.asd $(clc-files) + dh_install *.lisp $(clc-files) -# Build architecture-dependent files here. -binary-arch: build install +binary-indep: install dh_testdir dh_testroot -# dh_installdebconf -# dh_installmenu -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit -# dh_installcron -# dh_installman -# dh_installinfo -# dh_undocumented - dh_installchangelogs - dh_strip + dh_installdocs doc/readme.html + dh_installchangelogs + dh_lisp dh_compress dh_fixperms -# dh_makeshlibs dh_installdeb -# dh_perl - dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure +binary-arch: + +binary: binary-indep + +.PHONY: build clean binary-indep binary-arch binary install