X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2FMakefile.am;h=5694e9af651c76509ddfe8ec97686a98830abf1d;hb=172b0e3341cb60ffed14eea306373d696dacc600;hp=d0c77fcf1e1bb1436b2419934663a040f1e8a0fe;hpb=d25ad9338731a83d00dd35d895e476060a806d87;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/src/Makefile.am b/src/Makefile.am index d0c77fc..5694e9a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,14 +4,18 @@ 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' \ - -e 's,@prefix\@,$(prefix),g' + -e 's,@prefix\@,$(prefix),g' #install-exec-hook: @@ -25,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