X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2FMakefile.am;h=5694e9af651c76509ddfe8ec97686a98830abf1d;hb=4996d8deb7fcf366f5c012ae919b1245db3d7b6a;hp=f0cb69c12ff15061c3a78b8d7c426fbaf46827ab;hpb=05c26446ed65681528387f6c66473c61eebe7224;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/src/Makefile.am b/src/Makefile.am index f0cb69c..5694e9a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,13 +4,14 @@ sbin_SCRIPTS = backupninja ninjahelper # a proto je taky musíme smazat ... CLEANFILES = $(sbin_SCRIPTS) -EXTRA_DIST = backupninja.in ninjahelper.in +EXTRA_DIST = backupninja.in ninjahelper.in ninjareport.in edit = sed \ -e "s,@CFGDIR\@,$(CFGDIR),g" \ -e "s,@BASH\@,$(BASH),g" \ -e "s,@AWK\@,$(AWK),g" \ -e "s,@SED\@,$(SED),g" \ + -e "s,@STAT\@,$(STAT),g" \ -e 's,@datadir\@,$(pkgdatadir),g' \ -e "s,@libdir\@,$(pkglibdir),g" \ -e 's,@localstatedir\@,$(localstatedir),g' \ @@ -28,3 +29,7 @@ ninjahelper: $(srcdir)/ninjahelper.in $(edit) $(srcdir)/ninjahelper.in > ninjahelper chmod ugo+x ninjahelper +ninjareport: $(srcdir)/ninjareport.in + rm -f ninjareport + $(edit) $(srcdir)/ninjareport.in > ninjareport + chmod ugo+x ninjareport