index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Henning Garus <henning.garus@googlemail.com> | 2008-08-15 00:42:23 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-08-23 18:00:37 -0500 |
commit | ec928faad350e2aad957256fb47cb10277990738 (patch) | |
tree | 239422936544a983a72a072e93c97d9e9a553b89 /pactest/tests/Makefile.am | |
parent | 4b183bf9a9702b63cb8b031887d0f6bd38e538e3 (diff) |
-rw-r--r-- | pactest/tests/Makefile.am | 26 |
diff --git a/pactest/tests/Makefile.am b/pactest/tests/Makefile.am new file mode 100644 index 00000000..42ca5cbe --- /dev/null +++ b/pactest/tests/Makefile.am @@ -0,0 +1,26 @@ +CONFTESTS = $(patsubst %py.in,%py,$(wildcard *.py.in)) + +check_SCRIPTS = \ + $(wildcard *.py) \ + $(CONFTESTS) + +noinst_SCRIPTS = $(check_SCRIPTS) + +EXTRA_DIST = $(check_SCRIPTS) + +CLEANFILES = $(CONFTESTS) + +#### Taken from the autoconf scripts Makefile.am #### +edit = sed \ + -e 's|@LIBS[@]|$(LIBS)|g' \ + -e 's|@configure_input[@]|Generated from $@.in; do not edit by hand.|g' + + +$(CONFTESTS): Makefile + rm -f $@ $@.tmp + test -f $(srcdir)/$@.in && $(edit) $(srcdir)/$@.in >$@.tmp || true + test -f $@.tmp || false + chmod a-w $@.tmp + mv $@.tmp $@ + +# vim:set ts=2 sw=2 noet: |