Subversion Repositories pub

Compare Revisions

Ignore whitespace Rev 500 → Rev 499

/video-contact-sheet/branches/1.13/dist/common.mk
17,7 → 17,7
 
MANDIR:=$(prefix)/share/man
 
all: docs/vcs.1 docs/vcs.conf.5 vcs.spec
all: docs/vcs.1 docs/vcs.conf.5
#
# Automatically detected value:
# PACKAGER=$(PACKAGER)
24,22 → 24,12
# To set it manually add it to Make's command-line like:
# $$ $(MAKE) PACKAGER="This Is My Name"
 
dist: vcs-$(VERSION).tar.gz
dist: vcs.spec
 
vcs-$(VERSION).tar.gz: all
$(RM) -r vcs-$(VERSION) vcs-$(VERSION).tar.gz
mkdir vcs-$(VERSION)
tar c --exclude='.svn' \
--exclude='*.swp' --exclude='*.swo' \
--exclude='vcs-$(VERSION)' . |\
tar x -C vcs-$(VERSION)
tar zcf vcs-$(VERSION).tar.gz vcs-$(VERSION)/
$(RM) -r vcs-$(VERSION)
 
docs/%:
$(MAKE) -C docs $*
 
# Files installed in packages
# Files installed in packages but not outside
prepackage: examples/vcs.conf.example
 
install:
61,7 → 51,7
-rmdir -p $(DESTDIR)$(prefix)/share/vcs/profiles
-rmdir -p $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(MANDIR)/man5
 
examples/vcs.conf.example: docs/src/vcs.conf.example
examples/vcs.conf.example: ../vcs.conf.example
sed -e 's/^/#/;s/^#$$//;s/^##/#/' < $< > $@
 
vcs.spec: rpm/vcs.spec.in vcs
86,6 → 76,6
$(MAKE) -C docs clean
 
distclean: clean
-$(RM) vcs.spec PKGBUILD vcs-$(VERSION).tar.gz
-$(RM) vcs.spec PKGBUILD
 
.PHONY: all install clean tgz
/video-contact-sheet/branches/1.13/dist/docs/src/vcs.conf.example
File deleted
/video-contact-sheet/branches/1.13/Makefile
30,12 → 30,12
 
tgz: vcs-$(VER).tar.gz
 
vcs-$(VER).tar.gz: $(srcdir)/vcs-$(VER).tar.gz
mv $< $@
vcs-$(VER).tar.gz:
cp -rvpP $(srcdir)/ vcs-$(VER)
make -C vcs-$(VER) dist
tar zcvf vcs-$(VER).tar.gz --exclude '.svn' --exclude '*.swp' --exclude '*.swo' vcs-$(VER)
$(RM) -r vcs-$(VER)
 
$(srcdir)/vcs-$(VER).tar.gz:
make -C $(srcdir) distclean `basename $@`
 
check-no-svn:
@if [ -d .svn ]; then \
echo '*************************************************' ; \