summaryrefslogtreecommitdiffstats
path: root/xsettings/Makefile
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-10-09 19:12:57 +0000
committerOwen Taylor <otaylor@redhat.com>2002-10-09 19:12:57 +0000
commit174294084fa8b681ea5295693111855e1f11f06a (patch)
tree6510273de4b46ba839223d1eab047238947baea8 /xsettings/Makefile
parent4ccdf2f6cc4d87fcc3035981f3391561ec09f847 (diff)
downloadxdg-specs-174294084fa8b681ea5295693111855e1f11f06a.tar.xz
Version 0.2 ChangeLog
Diffstat (limited to 'xsettings/Makefile')
-rw-r--r--xsettings/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/xsettings/Makefile b/xsettings/Makefile
index 44109c8..c7595a1 100644
--- a/xsettings/Makefile
+++ b/xsettings/Makefile
@@ -1,3 +1,6 @@
+PACKAGE=xsettings
+VERSION=0.2
+
CFLAGS= -Wall -g `gtk-config --cflags` -g -Wall
LIBS=`gtk-config --libs`
@@ -21,3 +24,19 @@ xsettings.ps: xsettings.xml
clean:
rm -f *.o xsettings-manager xsettings-client xsettings.html
+
+dist:
+ distdir=$(PACKAGE)-$(VERSION) ; \
+ tag=`echo $$distdir | tr a-z.- A-Z__` ; \
+ cvs tag -F $$tag && \
+ cvs export -r $$tag -d $$distdir $(PACKAGE) && \
+ tar cvf - $$distdir | gzip -c --best > $$distdir.tar.gz && \
+ rm -rf $$distdir
+
+distcheck: dist
+ distdir=$(PACKAGE)-$(VERSION) ; \
+ tar xvfz $$distdir.tar.gz && \
+ cd $$distdir && \
+ make && \
+ cd .. && \
+ rm -rf $$distdir