2014-11-28 16:22:47 +00:00
|
|
|
if COND_FONT
|
|
|
|
COND_FONT = fonts
|
|
|
|
else
|
|
|
|
COND_FONT =
|
|
|
|
endif
|
|
|
|
|
|
|
|
if COND_EXAMPLES
|
|
|
|
COND_XMPS = examples
|
|
|
|
endif
|
|
|
|
|
|
|
|
SUBDIRS = src $(COND_FONT) $(COND_XMPS)
|
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
dist_pkgconfig_DATA = dockapp.pc
|
|
|
|
|
|
|
|
dockapp.pc: Makefile
|
|
|
|
@echo "Generating $@"
|
|
|
|
@echo 'Name: dockapp' > $@
|
|
|
|
@echo 'Description: Window Maker dockapp support' >> $@
|
2018-06-28 02:53:15 +00:00
|
|
|
@echo 'URL: https://www.dockapps.net/libdockapp' >> $@
|
2014-11-28 16:22:47 +00:00
|
|
|
@echo 'Version: $(VERSION)' >> $@
|
2017-08-12 23:47:34 +00:00
|
|
|
@echo 'Requires.private: x11 xext xpm' >> $@
|
2014-11-28 16:22:47 +00:00
|
|
|
@echo 'Libs: -L${libdir} -ldockapp' >> $@
|
|
|
|
@echo 'Cflags: -I${includedir}' >> $@
|
|
|
|
|
2015-10-21 11:10:13 +00:00
|
|
|
CLEANFILES = dockapp.pc
|
|
|
|
|
2014-11-28 16:22:47 +00:00
|
|
|
EXTRA_DIST = BUGS
|
2014-11-28 16:22:56 +00:00
|
|
|
|
|
|
|
update-changelog:
|
|
|
|
@git log `git log -1 --pretty=%h -- ChangeLog`..HEAD \
|
2015-10-18 04:02:49 +00:00
|
|
|
--pretty --numstat --summary -- . | \
|
2014-11-28 16:22:56 +00:00
|
|
|
git2cl | \
|
|
|
|
sed 's/libdockapp: \?//g' | \
|
|
|
|
sed 's/libdockapp\///g' > ChangeLog.new
|
|
|
|
@mv ChangeLog ChangeLog.old
|
|
|
|
@cat ChangeLog.new ChangeLog.old > ChangeLog
|
|
|
|
@rm ChangeLog.new ChangeLog.old
|