summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMikhail Osipov <mike.osipov@gmail.com>2020-06-07 01:22:21 +0300
committerMikhail Osipov <mike.osipov@gmail.com>2020-06-19 22:36:41 +0300
commit1e14e4aa2d90afb8a877767c1e6f247e4a8eceb9 (patch)
treecf626cf9ef6e5169dd8eb1152a7ad02e5433119d /Makefile.am
Update windowheader plugin
- sync with updates of wnck - sync with updates of xfce - add build scripts
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am24
1 files changed, 24 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..cd4ae16
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,24 @@
+@SET_MAKE@
+
+AUTOMAKE_OPTIONS = subdir-objects
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+
+SUBDIRS = panel-plugin
+
+distclean-local:
+ rm -rf *.cache *~
+
+rpm: dist
+ rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
+ @rm -f $(PACKAGE)-$(VERSION).tar.gz
+
+.PHONY: ChangeLog
+
+ChangeLog: Makefile
+ (GIT_DIR=$(top_srcdir)/.git git log > .changelog.tmp \
+ && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) \
+ || (touch ChangeLog; echo 'Git directory not found: installing possibly empty changelog.' >&2)
+
+dist-hook: ChangeLog
+
+# vi:set ts=8 sw=8 noet ai nocindent syntax=automake: