summaryrefslogtreecommitdiffstats
path: root/twin4/grafix/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'twin4/grafix/Makefile.am')
-rw-r--r--twin4/grafix/Makefile.am22
1 files changed, 22 insertions, 0 deletions
diff --git a/twin4/grafix/Makefile.am b/twin4/grafix/Makefile.am
new file mode 100644
index 00000000..70c3bfeb
--- /dev/null
+++ b/twin4/grafix/Makefile.am
@@ -0,0 +1,22 @@
+GRAFIXDIRS = default
+
+grafixdir = $(kde_datadir)/twin4/grafix
+
+uninstall-local:
+ rm -rf $(DESTDIR)$(grafixdir)
+
+install-data-local:
+ $(mkinstalldirs) $(DESTDIR)$(grafixdir)
+ for i in $(GRAFIXDIRS); do \
+ if test -d $(DESTDIR)$(grafixdir)/$$i; then \
+ echo "refreshing and removing $$i" ;\
+ rm -rf $(DESTDIR)$(grafixdir)/$$i;\
+ fi ;\
+ echo "installing $$i" ;\
+ if test ! -d $(DESTDIR)$(grafixdir)/$$i; then \
+ cp -r $(srcdir)/$$i $(DESTDIR)$(grafixdir)/$$i ;\
+ rm -rf $(DESTDIR)$(grafixdir)/$$i/CVS ;\
+ rm -rf $(DESTDIR)$(grafixdir)/$$i/.svn ;\
+ fi ;\
+ done
+