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 = \
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)