diff options
author | Dan McGee <dan@archlinux.org> | 2010-10-12 08:26:50 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-10-12 08:26:50 -0500 |
commit | a7dc3875f15f9600e011c313c8846de6af3a2c8c (patch) | |
tree | 978c7cdb44c03e617ad5f67f2a7bf35bb07d845a /contrib/Makefile.am | |
parent | 5fcb005ebd270c1ecff3403695680145253961a2 (diff) | |
download | pacman-a7dc3875f15f9600e011c313c8846de6af3a2c8c.tar.xz |
contrib/ follow-up work
* Add a .gitignore file
* Use the same 'GEN' output we have in the scripts/ Makefile when doing our
edits on the .in files
* Remove PKGBUILD.vim and vimprojects from our edit list, they have no need
to be in the list
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib/Makefile.am')
-rw-r--r-- | contrib/Makefile.am | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am index dd0b767c..01997631 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -1,5 +1,4 @@ OURFILES = \ - PKGBUILD.vim \ bacman \ bash_completion \ pacdiff \ @@ -7,12 +6,11 @@ OURFILES = \ pacscripts \ pacsearch \ pactree \ - vimprojects \ wget-xdelta.sh \ zsh_completion EXTRA_DIST = \ - PKGBUILD.vim.in \ + PKGBUILD.vim \ bacman.in \ bash_completion.in \ pacdiff.in \ @@ -20,7 +18,7 @@ EXTRA_DIST = \ pacscripts.in \ pacsearch.in \ pactree.in \ - vimprojects.in \ + vimprojects \ wget-xdelta.sh.in \ zsh_completion.in \ README @@ -34,9 +32,10 @@ edit = sed \ -e 's|@BASH[@]|$(BASH)|g' $(OURFILES): Makefile + @echo ' ' GEN $@; @rm -f $@ $@.tmp @cp -a $@.in $@.tmp - $(edit) $@.in >$@.tmp + @$(edit) $@.in >$@.tmp @mv $@.tmp $@ all-am: $(OURFILES) |