[Skencil-commits] r692 - skencil/branches/skencil-0.6
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Aug 14 00:50:13 CEST 2006
Author: bh
Date: 2006-08-14 00:50:13 +0200 (Mon, 14 Aug 2006)
New Revision: 692
Added:
skencil/branches/skencil-0.6/Makefile
Modified:
skencil/branches/skencil-0.6/ChangeLog
Log:
* INSTALL: Some updates and formatting fixes
Modified: skencil/branches/skencil-0.6/ChangeLog
===================================================================
--- skencil/branches/skencil-0.6/ChangeLog 2006-08-13 22:46:39 UTC (rev 691)
+++ skencil/branches/skencil-0.6/ChangeLog 2006-08-13 22:50:13 UTC (rev 692)
@@ -1,5 +1,9 @@
2006-08-13 Bernhard Herzog <bh at intevation.de>
+ * Makefile: New. Use "make dist" to create a source tarball.
+
+2006-08-13 Bernhard Herzog <bh at intevation.de>
+
* INSTALL: Some updates and formatting fixes
2006-08-13 Bernhard Herzog <bh at intevation.de>
Added: skencil/branches/skencil-0.6/Makefile
===================================================================
--- skencil/branches/skencil-0.6/Makefile 2006-08-13 22:46:39 UTC (rev 691)
+++ skencil/branches/skencil-0.6/Makefile 2006-08-13 22:50:13 UTC (rev 692)
@@ -0,0 +1,75 @@
+#
+# Make distribution
+#
+
+
+all:
+
+VERSION := $(shell cat Sketch/VERSION)
+
+DIST_BASENAME = skencil-$(VERSION)
+
+DIST_TAR = $(DIST_BASENAME).tar.gz
+
+DISTBASEDIR = dist
+DISTDIR = $(DISTBASEDIR)/$(DIST_BASENAME)
+
+FILES = \
+ README INSTALL NEWS COPYING TODO PROJECTS BUGS CREDITS FAQ \
+ skencil.py sk2ps.py skshow.py skconvert.py sk2ppm.py \
+ finishinst.py setup.py skencil.spec \
+ Examples/* \
+ Tools/* \
+ Pax/X.py Pax/README Pax/COPYING{,.xext} \
+ Misc/README Misc/Symbolgroup/{README,*.sk} Misc/magic \
+ Filter/{README,COPYING} \
+ Plugins/ChangeLog \
+ Sketch/VERSION \
+ Sketch/Pixmaps/*.{xbm,gif} Sketch/Pixmaps/New12/*.xbm \
+ Resources/Fontmetrics/* \
+ Resources/Misc/* \
+ Resources/Messages/*/*/*.mo \
+ Doc/Makefile \
+ Doc/{dev,users}guide/*.xml \
+ Doc/{dev,users}guide/html/*.html \
+ Doc/usersguide/{html/,}Images/*.png \
+ po/*.po po/skencil.pot po/{Makefile,README}
+
+PY_DIRS = Sketch/{,Base,UI,Graphics,Lib,Scripting} Script/ Pax/Generate \
+ Misc/{,Symbolgroup}
+PY_DIRS_RECURSIVE = Plugins/
+C_DIRS = Pax Sketch/Modules Filter
+
+CP = cp -l --parents
+
+skencil.spec: skencil.spec.in Sketch/VERSION
+ rm -f skencil.spec
+ sed -e 's/@VERSION@/$(VERSION)/' < skencil.spec.in > skencil.spec
+
+doc:
+ $(MAKE) -C Doc
+
+messages:
+ $(MAKE) -C po mo
+
+dist: skencil.spec doc messages
+ rm -rf $(DISTDIR)/*
+ test -e $(DISTBASEDIR) || mkdir $(DISTBASEDIR)
+ test -e $(DISTDIR) || mkdir $(DISTDIR)
+ $(CP) $(FILES) $(DISTDIR)
+ for dir in $(PY_DIRS); do \
+ $(CP) $$dir/*.py $(DISTDIR); \
+ done
+ for dir in $(PY_DIRS_RECURSIVE); do \
+ find $$dir -name '*.py' \
+ -exec cp --parents -p '{}' $(DISTDIR) ';' ; \
+ done
+ for dir in $(C_DIRS); do \
+ $(CP) $$dir/*.{c,h,in} $(DISTDIR); \
+ if [ -f $$dir/Setup.config ]; then \
+ $(CP) $$dir/Setup.config $(DISTDIR); \
+ fi \
+ done
+ rm -f `find $(DISTDIR) -name config.c`
+ (cd $(DISTBASEDIR); tar cvzf $(DIST_TAR) $(DIST_BASENAME))
+
Property changes on: skencil/branches/skencil-0.6/Makefile
___________________________________________________________________
Name: svn:eol-style
+ native
More information about the Skencil-commits
mailing list