X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=lib%2Fbackends%2FMakefile.am;fp=lib%2Fbackends%2FMakefile.am;h=a297908aae35bf557f91a503d96b24d1a9ba833e;hp=0000000000000000000000000000000000000000;hb=3c04ecde671ef12c01ff79393f936b879fb08f04;hpb=a8f65652866003814b6f2c79bec0165beee24ab9 diff --git a/lib/backends/Makefile.am b/lib/backends/Makefile.am new file mode 100644 index 0000000..a297908 --- /dev/null +++ b/lib/backends/Makefile.am @@ -0,0 +1,19 @@ +BACKENDS = local chroot + +pkglib_SCRIPTS = $(BACKENDS) + +CLEANFILES = $(BACKENDS) + +EXTRA_DIST = $(BACKENDS:%=%.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,@MKTEMP\@,$(MKTEMP),g" \ + -e "s,@libdir\@,$(pkglibdir),g" + +$(BACKENDS): %: $(srcdir)/%.in + rm -f $@ + $(edit) $@.in > $@