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' >> $@
|
2014-11-28 16:22:57 +00:00
|
|
|
@echo 'URL: http://windowmaker.org/dockapps/?name=libdockapp' >> $@
|
2014-11-28 16:22:47 +00:00
|
|
|
@echo 'Version: $(VERSION)' >> $@
|
|
|
|
@echo 'Requires: x11 xext xpm' >> $@
|
|
|
|
@echo 'Libs: -L${libdir} -ldockapp' >> $@
|
|
|
|
@echo 'Cflags: -I${includedir}' >> $@
|
|
|
|
|
|
|
|
EXTRA_DIST = BUGS
|
2014-11-28 16:22:56 +00:00
|
|
|
|
|
|
|
update-changelog:
|
|
|
|
@git log `git log -1 --pretty=%h -- ChangeLog`..HEAD \
|
|
|
|
--pretty --numstat --summary | \
|
|
|
|
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
|