X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=7fa36e375d93a813568cb95b23cfaef737b583fc;hb=736e1a3fa03233ebb3f4eb9d3be22a2e6ca4186a;hp=88f2c55771a9dda2df4ca9563e2a2fc7376e66ba;hpb=c887d8797dae136dbc928bece8df0ea351e73756;p=1ts-debian.git diff --git a/debian/rules b/debian/rules index 88f2c55..7fa36e3 100755 --- a/debian/rules +++ b/debian/rules @@ -36,11 +36,11 @@ build-stamp: set -e; \ for dir in krb no-krb ; do \ cd $$dir; \ - rm -f lib/zephyr/*.o || true; \ + rm -f lib/*.o || true; \ $(MAKE) -C lib \ FPIC= \ LIBEXT=a; \ - rm -f lib/zephyr/*.o; \ + rm -f lib/*.o; \ $(MAKE) LIBEXT=so \ FPIC=-fpic SONAME=$(SONAME); \ cd ..; \ @@ -55,7 +55,10 @@ clean: # Add here commands to clean up after the build process. -rm -rf krb no-krb debian/tmp-krb - -rm debian/zephyr-server-krb.* + -rm debian/zephyr-server-krb.files + -rm debian/zephyr-server-krb.templates + -rm debian/zephyr-server-krb.config + -rm debian/zephyr-server-krb.postinst -rm debian/libzephyr3-krb.files dh_clean @@ -78,6 +81,7 @@ install: build mkdir -p debian/tmp/etc/zephyr/acl set -x; for i in debian/acl/*; do install -c -m 644 -o root $$i debian/tmp/etc/zephyr/acl; done; set +x install -c -m 644 debian/zephyr.vars debian/tmp/etc/zephyr + install -c -m 644 debian/default.subscriptions debian/tmp/etc/zephyr cp -pr debian/tmp/etc/zephyr/acl debian/tmp-krb/etc/zephyr # Build architecture-independent files here. @@ -90,11 +94,11 @@ binary-arch: build install dh_testdir dh_testroot set -e; \ - for file in files init templates config postinst; do \ + for file in files templates config postinst docs; do \ cp debian/zephyr-server.$$file debian/zephyr-server-krb.$$file; \ done cp debian/libzephyr3.files debian/libzephyr3-krb.files - dh_movefiles -plibzephyr3 -pzephyr-clients -pzephyr-server -pzephyr-de + dh_movefiles -plibzephyr3 -pzephyr-clients -pzephyr-server -plibzephyr-dev dh_movefiles --sourcedir=debian/tmp-krb -plibzephyr3-krb -pzephyr-server-krb dh_installdebconf dh_installdocs