summarylogtreecommitdiffstats
path: root/diff.Makefile.am
diff options
context:
space:
mode:
authornot_anonymous2017-04-03 14:54:40 -0600
committernot_anonymous2017-04-03 14:54:40 -0600
commit71b47994364067b675f7da229326cd5813a810c1 (patch)
treeb846272be8ae51b768bb62234cc052b5b02c51c3 /diff.Makefile.am
downloadaur-xwefax.tar.gz
New package
Diffstat (limited to 'diff.Makefile.am')
-rw-r--r--diff.Makefile.am30
1 files changed, 30 insertions, 0 deletions
diff --git a/diff.Makefile.am b/diff.Makefile.am
new file mode 100644
index 00000000000..23c35c91410
--- /dev/null
+++ b/diff.Makefile.am
@@ -0,0 +1,30 @@
+--- Makefile.am 2013-12-02 00:01:29.000000000 -0700
++++ Makefile.am 2015-02-18 20:18:22.333001926 -0700
+@@ -35,6 +35,21 @@
+- if test -d $(HOME)/$(PACKAGE); then \
+- echo Working directory exists: $(HOME)/$(PACKAGE) - not copying; \
+- else \
+- echo Copying $(PACKAGE) working directory to $(HOME)/$(PACKAGE); \
+- cp -r $(srcdir)/$(PACKAGE) $(HOME); \
+- fi
++ if test -d files/; then \
++ echo "cp files/$(PACKAGE).desktop $(DESTDIR)/usr/share/applications/"; \
++ cp files/$(PACKAGE).desktop $(DESTDIR)/usr/share/applications/; \
++ echo "cp files/$(PACKAGE).xpm $(DESTDIR)/usr/share/pixmaps/"; \
++ cp files/$(PACKAGE).xpm $(DESTDIR)/usr/share/pixmaps/; \
++ fi
++
++ if test -d xwefax/; then \
++ if !(test -d $(DESTDIR)/usr/share/doc/$(PACKAGE)); then \
++ echo "mkdir $(DESTDIR)/usr/share/doc/$(PACKAGE)/"; \
++ mkdir $(DESTDIR)/usr/share/doc/$(PACKAGE)/; \
++ echo "mkdir $(DESTDIR)/usr/share/doc/$(PACKAGE)/examples/"; \
++ mkdir $(DESTDIR)/usr/share/doc/$(PACKAGE)/examples/; \
++ fi; \
++ echo "cp -r doc/* $(DESTDIR)/usr/share/doc/$(PACKAGE)/"; \
++ cp -r doc/* $(DESTDIR)/usr/share/doc/$(PACKAGE)/; \
++ echo "cp xwefax/$(PACKAGE)rc $(DESTDIR)/usr/share/doc/$(PACKAGE)/examples/"; \
++ cp xwefax/$(PACKAGE)rc $(DESTDIR)/usr/share/doc/$(PACKAGE)/examples/$(PACKAGE)rc.example; \
++ echo "cp xwefax/stations $(DESTDIR)/usr/share/doc/$(PACKAGE)/"; \
++ cp -r xwefax/stations $(DESTDIR)/usr/share/doc/$(PACKAGE)/; \
++ fi