GTK+2 panel 

GTK+2 panel Git Source Tree

Root/Makefile.am

1XSLTPROC=`which xsltproc`
2
3ACLOCAL_AMFLAGS=-I build
4
5BUILT_SOURCES=config.h \
6ChangeLog \
7README \
8NEWS \
9TODO
10
11SUBDIRS=libgpsystem \
12libgpwidgets \
13gtk2panel \
14examples \
15docs
16
17config.h: config.h.in
18rm -f $@ $@.tmp
19sed -e 's|@pkgdatadir[@]|$(pkgdatadir)|g' $< > $@.tmp
20mv $@.tmp $@
21
22# Creating ChangeLog files from git log:
23# idea stolen from cairo/build/Makefile.am.changelog
24ChangeLog:
25@echo Updating $@
26@if test -d "$(top_srcdir)/.git"; then \
27 (cd "$(top_srcdir)" && git log --stat > $@); \
28else \
29 echo A git checkout is required to generate $@ >&2; \
30fi
31
32# Update the README from the xml version
33README: $(top_srcdir)/docs/docbook2txt.xsl $(top_srcdir)/docs/README.xml
34@echo Updating $@
35@if test -x $(XSLTPROC); then \
36 $(XSLTPROC) -o $@ $^; \
37else \
38 echo libxslt-1.0.19 or later is required in order to generate $@; \
39fi
40
41# Update the NEWS from the xml version
42NEWS: $(top_srcdir)/docs/docbook2txt.xsl $(top_srcdir)/docs/NEWS.xml
43@echo Updating $@
44@if test -x $(XSLTPROC); then \
45 $(XSLTPROC) -o $@ $^; \
46else \
47 echo libxslt-1.0.19 or later is required in order to generate $@; \
48fi
49
50# Update the TODO from the xml version
51TODO: $(top_srcdir)/docs/docbook2txt.xsl $(top_srcdir)/docs/TODO.xml
52@echo Updating $@
53@if test -x $(XSLTPROC); then \
54 $(XSLTPROC) -o $@ $^; \
55else \
56 echo libxslt-1.0.19 or later is required in order to generate $@; \
57fi

Archive Download this file

Branches

Tags