wmclockmon: update change-log
[dockapps.git] / libdockapp / Makefile.am
bloba1316e94564a3cb714da28f818a6d6c164952edd
1 if COND_FONT
2 COND_FONT = fonts
3 else
4 COND_FONT =
5 endif
7 if COND_EXAMPLES
8 COND_XMPS = examples
9 endif
11 SUBDIRS = src $(COND_FONT) $(COND_XMPS)
13 pkgconfigdir = $(libdir)/pkgconfig
14 dist_pkgconfig_DATA = dockapp.pc
16 dockapp.pc: Makefile
17         @echo "Generating $@"
18         @echo 'Name: dockapp' >  $@
19         @echo 'Description: Window Maker dockapp support' >> $@
20         @echo 'URL: https://www.dockapps.net/libdockapp' >> $@
21         @echo 'Version: $(VERSION)' >> $@
22         @echo 'Requires.private: x11 xext xpm' >> $@
23         @echo 'Libs: -L${libdir} -ldockapp' >> $@
24         @echo 'Cflags: -I${includedir}' >> $@
26 CLEANFILES = dockapp.pc
28 EXTRA_DIST = BUGS autogen
30 update-changelog:
31         @git log `git log -1 --pretty=%h -- ChangeLog`..HEAD \
32                 --pretty --numstat --summary -- . | \
33                 git2cl | \
34                 sed 's/libdockapp: \?//g' | \
35                 sed 's/libdockapp\///g' > ChangeLog.new
36         @mv ChangeLog ChangeLog.old
37         @cat ChangeLog.new ChangeLog.old > ChangeLog
38         @rm ChangeLog.new ChangeLog.old