diff options
author | Vincent Untz <vuntz@gnome.org> | 2012-03-02 15:36:01 +0100 |
---|---|---|
committer | Vincent Untz <vuntz@gnome.org> | 2012-03-02 15:36:01 +0100 |
commit | 626d6be2dbfdad49177c2123cfac529df682f544 (patch) | |
tree | e9a76914aa174dd645d57ab9d376181dfe3da5b0 /xsettings/Makefile | |
parent | 94db110fab0dcea1f8f87efce6ce1be15a67dfc7 (diff) | |
parent | ad0b97a062a77226a56f1966a8665d2742dce1f7 (diff) | |
download | xdg-specs-626d6be2dbfdad49177c2123cfac529df682f544.tar.xz |
xsettings: Merge import from CVS
Diffstat (limited to 'xsettings/Makefile')
-rw-r--r-- | xsettings/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/xsettings/Makefile b/xsettings/Makefile new file mode 100644 index 0000000..c7595a1 --- /dev/null +++ b/xsettings/Makefile @@ -0,0 +1,42 @@ +PACKAGE=xsettings +VERSION=0.2 + +CFLAGS= -Wall -g `gtk-config --cflags` -g -Wall +LIBS=`gtk-config --libs` + +manager_objects = manager.o gtk-utils.o xsettings-common.o xsettings-manager.o + +client_objects = client.o xsettings-common.o xsettings-client.o + +all: xsettings-manager xsettings-client xsettings.html + +xsettings-manager: $(manager_objects) + $(CC) -o $@ $(manager_objects) $(LIBS) + +xsettings-client: $(client_objects) + $(CC) -o $@ $(client_objects) $(LIBS) + +xsettings.html: xsettings.xml + xmlto html-nochunks $< + +xsettings.ps: xsettings.xml + docbook2ps 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 |