[Piuparts-devel] [Git][debian/piuparts][develop] fixup for installation from git

Holger Levsen gitlab at salsa.debian.org
Wed Sep 4 13:49:24 BST 2019



Holger Levsen pushed to branch develop at Debian / piuparts


Commits:
2ef03ff6 by Holger Levsen at 2019-09-04T12:49:14Z
fixup for installation from git

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- Makefile


Changes:

=====================================
Makefile
=====================================
@@ -161,9 +161,9 @@ install-master: build-master-stamp install-common
 	install -d $(DESTDIR)$(sharedir)/piuparts
 	install -m 0755 piuparts-master piuparts-master-backend piuparts-report piuparts-analyze $(DESTDIR)$(sharedir)/piuparts/
 
-	# do not install the templates (*.in, *.py)
+	# do not install the templates (*.in, *.py, *.) nor __pycache__
 	install -d $(DESTDIR)$(sharedir)/piuparts/master
-	install -m 0755 $(filter-out %.in %.py,$(wildcard master-bin/*)) $(DESTDIR)$(sharedir)/piuparts/master/
+	install -m 0755 $(filter-out %.in %.py %__pycache__,$(wildcard master-bin/*)) $(DESTDIR)$(sharedir)/piuparts/master/
 
 	install -d $(DESTDIR)$(sharedir)/piuparts/known_problems
 	install -m 0644 known_problems/*.conf $(DESTDIR)$(sharedir)/piuparts/known_problems/
@@ -187,9 +187,9 @@ install-slave: install-common
 	install -d $(DESTDIR)$(sharedir)/piuparts
 	install -m 0755 piuparts-slave $(DESTDIR)$(sharedir)/piuparts/
 
-	# do not install the templates (*.in, *.py)
+	# do not install the templates (*.in, *.py) nor __pycache__
 	install -d $(DESTDIR)$(sharedir)/piuparts/slave
-	install -m 0755 $(filter-out %.in %.py,$(wildcard slave-bin/*)) $(DESTDIR)$(sharedir)/piuparts/slave/
+	install -m 0755 $(filter-out %.in %.py %__pycache__,$(wildcard slave-bin/*)) $(DESTDIR)$(sharedir)/piuparts/slave/
 
 	install -d $(DESTDIR)$(etcdir)/piuparts
 	@set -e -x ; \



View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/2ef03ff6c0a14342df72357946b752de75184835

-- 
View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/2ef03ff6c0a14342df72357946b752de75184835
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20190904/52de1b96/attachment-0001.html>


More information about the Piuparts-devel mailing list