X-Git-Url: https://git.distorted.org.uk/~mdw/rsync-backup/blobdiff_plain/f6b4ffdc7265b79b945e2350efbd9d2a94df4450..fdd73e22e2baa4d70eaa65a1cd647ccacf42565e:/Makefile.am diff --git a/Makefile.am b/Makefile.am index e2fabd9..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) @@ -64,6 +65,7 @@ rfreezefs_SOURCES = rfreezefs.c rfreezefs_LDADD = $(mLib_LIBS) sbin_SCRIPTS += rsync-backup +dist_man_MANS += rsync-backup.8 CLEANFILES += rsync-backup EXTRA_DIST += rsync-backup.in rsync-backup: rsync-backup.in Makefile @@ -72,7 +74,18 @@ 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 EXTRA_DIST += fshash.in fshash: fshash.in Makefile @@ -98,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 --------------------------------------------------