[hamradio-commits] [xnec2c] 04/07: makefile update to enable build, ignoring .pc
Dave Hibberd
hibby-guest at moszumanska.debian.org
Sat Jan 20 15:57:36 UTC 2018
This is an automated email from the git hooks/post-receive script.
hibby-guest pushed a commit to branch master
in repository xnec2c.
commit 8503c06a6d0c35894b578acb77b734a62e5ef3a9
Author: hibby <d at vehibberd.com>
Date: Sat Jan 20 14:22:54 2018 +0000
makefile update to enable build, ignoring .pc
---
.gitignore | 1 +
debian/patches/makefile.patch | 29 +++++++++++++++++++++++++++++
debian/patches/series | 1 +
debian/xnec2c.install | 4 ++--
4 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..224e7f0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.pc/
diff --git a/debian/patches/makefile.patch b/debian/patches/makefile.patch
new file mode 100644
index 0000000..29ce27e
--- /dev/null
+++ b/debian/patches/makefile.patch
@@ -0,0 +1,29 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -44,26 +44,3 @@
+ po/Makefile.in.in \
+ po/xnec2c.pot \
+ Makefile
+-
+-install-data-local:
+- @$(NORMAL_INSTALL)
+- if test -d files/; then \
+- cp files/$(PACKAGE).desktop $(DESTDIR)/usr/share/applications/; \
+- cp files/$(PACKAGE).png $(DESTDIR)/usr/share/pixmaps/; \
+- fi; \
+- if !(test -d $(DESTDIR)/usr/share/doc/$(PACKAGE)); then \
+- mkdir $(DESTDIR)/usr/share/doc/$(PACKAGE)/; \
+- mkdir $(DESTDIR)/usr/share/doc/$(PACKAGE)/examples/; \
+- fi; \
+- if test -d doc/; then \
+- cp -r doc/* $(DESTDIR)/usr/share/doc/$(PACKAGE)/; \
+- cp -r doc/$(PACKAGE).1.gz $(DESTDIR)/usr/share/man/man1/; \
+- cp examples/* $(DESTDIR)/usr/share/doc/$(PACKAGE)/examples/; \
+- fi; \
+- if !(test -d /home/`logname`/$(PACKAGE)); then \
+- cp -r $(PACKAGE) /home/`logname`/; \
+- else \
+- cp $(PACKAGE)/$(PACKAGE).glade /home/`logname`/$(PACKAGE); \
+- fi; \
+- chown -R `logname`:`logname` /home/`logname`/$(PACKAGE);
+-
diff --git a/debian/patches/series b/debian/patches/series
index cac8873..edd58e4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+makefile.patch
desktop-entry.patch
diff --git a/debian/xnec2c.install b/debian/xnec2c.install
index e9b9b08..76926fa 100644
--- a/debian/xnec2c.install
+++ b/debian/xnec2c.install
@@ -1,2 +1,2 @@
-xnec2c.desktop usr/share/applications/
-xnec2c.png usr/share/xnec2c/
+files/xnec2c.desktop usr/share/applications/
+files/xnec2c.png usr/share/xnec2c/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/xnec2c.git
More information about the pkg-hamradio-commits
mailing list