X-Git-Url: https://git.distorted.org.uk/~mdw/rsync-backup/blobdiff_plain/69305044e24a190f8d1e994c548d743d500c4f39..4d1e50d8b0344b405fd7b51d589dfd6136b6f719:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 36d5d92..4fa8227 100644 --- a/Makefile.am +++ b/Makefile.am @@ -47,6 +47,7 @@ SUBSTVARS = \ sysconfdir="$(sysconfdir)" \ mntbkpdir="$(mntbkpdir)" \ fshashdir="$(fshashdir)" \ + pkglocalstatedir="$(localstatedir)/lib/bkp" \ logdir="$(logdir)" V_SUBST = $(V_SUBST_$V) @@ -73,6 +74,16 @@ rsync-backup: rsync-backup.in Makefile chmod +x rsync-backup.new && \ mv rsync-backup.new rsync-backup +sbin_SCRIPTS += update-bkp-index +dist_man_MANS += update-bkp-index.8 +CLEANFILES += update-bkp-index +EXTRA_DIST += update-bkp-index.in +update-bkp-index: update-bkp-index.in Makefile + $(SUBST) >update-bkp-index.new \ + $(srcdir)/update-bkp-index.in $(SUBSTVARS) && \ + chmod +x update-bkp-index.new && \ + mv update-bkp-index.new update-bkp-index + bin_SCRIPTS += fshash dist_man_MANS += fshash.1 CLEANFILES += fshash @@ -100,4 +111,11 @@ EXTRA_DIST += config/auto-version dist-hook: echo $(VERSION) >$(distdir)/RELEASE +###-------------------------------------------------------------------------- +### Debian packaging. + +EXTRA_DIST += debian/copyright debian/changelog +EXTRA_DIST += debian/control debian/rules +EXTRA_DIST += debian/compat + ###----- That's all, folks --------------------------------------------------