[Debian-islamic-commits] [monajat] 09/12: Added separate_pyinstall.diff patch to separate python build/install calls from Makefile
أحمد المحمودي (Ahmed El-Mahmoudy)
aelmahmoudy at sabily.org
Sat Apr 12 17:06:05 UTC 2014
This is an automated email from the git hooks/post-receive script.
aelmahmoudy-guest pushed a commit to branch master
in repository monajat.
commit 215bd06da087d66ea8e0f08a185a4616a603d531
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
Date: Fri Apr 11 15:26:23 2014 +0200
Added separate_pyinstall.diff patch to separate python build/install calls from Makefile
---
debian/patches/separate_pyinstall.diff | 34 ++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 35 insertions(+)
diff --git a/debian/patches/separate_pyinstall.diff b/debian/patches/separate_pyinstall.diff
new file mode 100644
index 0000000..0282b0a
--- /dev/null
+++ b/debian/patches/separate_pyinstall.diff
@@ -0,0 +1,34 @@
+Description: Separate python build/install calls from Makefile
+Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
+--- a/Makefile
++++ b/Makefile
+@@ -15,21 +15,18 @@
+ RM := $(shell which rm | egrep '/' | sed 's/\s//g')
+
+
+-all: $(TARGETS) db
++all: $(TARGETS)
+
+ icons:
+ @for i in 96 72 64 48 36 32 24 22 16; do \
+ convert -background none monajat-data/$(APPNAME).svg -resize $${i}x$${i} $(APPNAME)-$${i}.png; \
+ done
+-db:
+- @$(PYTHON) gen-db.py
+
+ pos:
+ @$(MAKE) -C po all
+
+ install: all
+ @$(ECHO) "*** Installing..."
+- @$(PYTHON) setup.py install -O2 --root $(DESTDIR)
+ @$(ECHO) "Copying: $(APPNAME)-autostart.desktop -> $(XDGDIR)/autostart/"
+ @$(INSTALL) -d $(XDGDIR)/autostart/
+ @$(INSTALL) -m 0644 $(APPNAME)-autostart.desktop $(XDGDIR)/autostart/
+@@ -95,6 +92,4 @@
+ @$(RM) -f */*.pyc
+ @$(ECHO) "- Removing: $(APPNAME)-*.png"
+ @$(RM) -f $(APPNAME)-*.png
+- @$(ECHO) "- Removing: monajat-data/data.db"
+- @$(RM) -f monajat-data/data.db
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6eaa97e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+separate_pyinstall.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-islamic/packages/monajat.git
More information about the Debian-islamic-commits
mailing list