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>
This commit is contained in:
Dan McGee 2010-10-12 08:26:50 -05:00
parent 5fcb005ebd
commit a7dc3875f1
4 changed files with 13 additions and 5 deletions

9
contrib/.gitignore vendored Normal file
View file

@ -0,0 +1,9 @@
bacman
bash_completion
pacdiff
paclist
pacscripts
pacsearch
pactree
wget-xdelta.sh
zsh_completion

View file

@ -1,5 +1,4 @@
OURFILES = \ OURFILES = \
PKGBUILD.vim \
bacman \ bacman \
bash_completion \ bash_completion \
pacdiff \ pacdiff \
@ -7,12 +6,11 @@ OURFILES = \
pacscripts \ pacscripts \
pacsearch \ pacsearch \
pactree \ pactree \
vimprojects \
wget-xdelta.sh \ wget-xdelta.sh \
zsh_completion zsh_completion
EXTRA_DIST = \ EXTRA_DIST = \
PKGBUILD.vim.in \ PKGBUILD.vim \
bacman.in \ bacman.in \
bash_completion.in \ bash_completion.in \
pacdiff.in \ pacdiff.in \
@ -20,7 +18,7 @@ EXTRA_DIST = \
pacscripts.in \ pacscripts.in \
pacsearch.in \ pacsearch.in \
pactree.in \ pactree.in \
vimprojects.in \ vimprojects \
wget-xdelta.sh.in \ wget-xdelta.sh.in \
zsh_completion.in \ zsh_completion.in \
README README
@ -34,9 +32,10 @@ edit = sed \
-e 's|@BASH[@]|$(BASH)|g' -e 's|@BASH[@]|$(BASH)|g'
$(OURFILES): Makefile $(OURFILES): Makefile
@echo ' ' GEN $@;
@rm -f $@ $@.tmp @rm -f $@ $@.tmp
@cp -a $@.in $@.tmp @cp -a $@.in $@.tmp
$(edit) $@.in >$@.tmp @$(edit) $@.in >$@.tmp
@mv $@.tmp $@ @mv $@.tmp $@
all-am: $(OURFILES) all-am: $(OURFILES)