Restrict visibility of checkdbdir and get_pkgpath
[pacman-ng.git] / contrib / Makefile.am
blobdd0b767c628094df7ffe1bc2eacc5c7eda10457b
1 OURFILES = \
2         PKGBUILD.vim \
3         bacman \
4         bash_completion \
5         pacdiff \
6         paclist \
7         pacscripts \
8         pacsearch \
9         pactree \
10         vimprojects \
11         wget-xdelta.sh \
12         zsh_completion
14 EXTRA_DIST = \
15         PKGBUILD.vim.in \
16         bacman.in \
17         bash_completion.in \
18         pacdiff.in \
19         paclist.in \
20         pacscripts.in \
21         pacsearch.in \
22         pactree.in \
23         vimprojects.in \
24         wget-xdelta.sh.in \
25         zsh_completion.in \
26         README
28 # Files that should be removed, but which Automake does not know.
29 MOSTLYCLEANFILES = $(OURFILES) *.tmp
31 edit = sed \
32         -e 's|@sysconfdir[@]|$(sysconfdir)|g' \
33         -e 's|@localstatedir[@]|$(localstatedir)|g' \
34         -e 's|@BASH[@]|$(BASH)|g'
36 $(OURFILES): Makefile
37         @rm -f $@ $@.tmp
38         @cp -a $@.in $@.tmp
39         $(edit) $@.in >$@.tmp
40         @mv $@.tmp $@
42 all-am: $(OURFILES)
44 # vim:set ts=2 sw=2 noet: