aboutsummaryrefslogtreecommitdiff
path: root/media/sound/pd/pd-0.41_4.diff
blob: 05ae57c244b433fa2dd873fdb526ec3f6e50873d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Only in pd-0.41-4/src/: .makefile.in.swp
diff -u pd-0.41-4.orig/src/makefile.in pd-0.41-4/src/makefile.in
--- pd-0.41-4.orig/src/makefile.in	2008-03-14 21:03:00.000000000 -0300
+++ pd-0.41-4/src/makefile.in	2008-05-11 20:46:39.000000000 -0300
@@ -163,39 +163,41 @@
 
 ABOUT_FILE=$(pddocdir)/1.manual/1.introduction.txt
 install:  all
-	install -d $(libpdbindir)
-	install $(BIN_DIR)/$(GUINAME) $(libpdbindir)/$(GUINAME)
-	install $(BIN_DIR)/pd-watchdog $(libpdbindir)/pd-watchdog
-	install -m644 $(BIN_DIR)/pd.tk $(libpdbindir)/pd.tk
-	install -d $(DESTDIR)$(bindir)
-	install $(BINARYMODE) $(PDEXEC) $(DESTDIR)$(bindir)/pd
-	install -m755 $(BIN_DIR)/pdsend $(DESTDIR)$(bindir)/pdsend
-	install -m755 $(BIN_DIR)/pdreceive $(DESTDIR)$(bindir)/pdreceive 
+	install -d $(DESTDIR)/$(libpdbindir)
+	install $(BIN_DIR)/$(GUINAME) $(DESTDIR)/$(libpdbindir)/$(GUINAME)
+	install $(BIN_DIR)/pd-watchdog $(DESTDIR)/$(libpdbindir)/pd-watchdog
+	install -m644 $(BIN_DIR)/pd.tk $(DESTDIR)/$(libpdbindir)/pd.tk
+	install -d $(DESTDIR)/$(bindir)
+	install $(BIN_DIR)/$(GUINAME) $(DESTDIR)/$(bindir)/$(GUINAME)
+	install -m644 $(BIN_DIR)/pd.tk $(DESTDIR)/$(bindir)/pd.tk
+	install $(BINARYMODE) $(PDEXEC) $(DESTDIR)/$(bindir)/pd
+	install -m755 $(BIN_DIR)/pdsend $(DESTDIR)/$(bindir)/pdsend
+	install -m755 $(BIN_DIR)/pdreceive $(DESTDIR)/$(bindir)/pdreceive 
 	for dir in $(shell ls -1 ../doc | grep -v CVS); do \
 		echo "installing $$dir"; \
-		install -d $(pddocdir)/$$dir ; \
-		install -m644 -p ../doc/$$dir/*.* $(pddocdir)/$$dir ; \
+		install -d $(DESTDIR)/$(pddocdir)/$$dir ; \
+		install -m644 ../doc/$$dir/*.* $(DESTDIR)/$(pddocdir)/$$dir ; \
 	done
 	for dir in $(shell ls -1 ../doc/7.stuff | grep -v CVS); do \
 		echo "installing 7.stuff/$$dir"; \
-		install -d $(pddocdir)/7.stuff/$$dir ; \
-		install -m644 -p ../doc/7.stuff/$$dir/*.* $(pddocdir)/7.stuff/$$dir ; \
+		install -d $(DESTDIR)/$(pddocdir)/7.stuff/$$dir ; \
+		install -m644 ../doc/7.stuff/$$dir/*.* $(DESTDIR)/$(pddocdir)/7.stuff/$$dir ; \
 	done
-	mv $(ABOUT_FILE) $(ABOUT_FILE).tmp
-	cat $(ABOUT_FILE).tmp | sed 's|PD_VERSION|Pd version $(PD_VERSION)|' \
-		> $(ABOUT_FILE)
-	rm $(ABOUT_FILE).tmp
-	cp -pr ../extra $(libpddir)/
-	rm -f $(libpddir)/extra/*/*.o
-	install -d $(DESTDIR)$(includedir)
-	install -m644 m_pd.h $(DESTDIR)$(includedir)/m_pd.h
-	install -d $(DESTDIR)$(mandir)/man1
-	gzip < ../man/pd.1 >  $(DESTDIR)$(mandir)/man1/pd.1.gz
-	chmod 644 $(DESTDIR)$(mandir)/man1/pd.1.gz
-	gzip < ../man/pdsend.1 >  $(DESTDIR)$(mandir)/man1/pdsend.1.gz
-	chmod 644 $(DESTDIR)$(mandir)/man1/pdsend.1.gz
-	gzip < ../man/pdreceive.1 >  $(DESTDIR)$(mandir)/man1/pdreceive.1.gz
-	chmod 644 $(DESTDIR)$(mandir)/man1/pdreceive.1.gz
+	mv $(DESTDIR)/$(ABOUT_FILE) $(DESTDIR)/$(ABOUT_FILE).tmp
+	cat $(DESTDIR)/$(ABOUT_FILE).tmp | sed 's|PD_VERSION|Pd version $(PD_VERSION)|' \
+		> $(DESTDIR)/$(ABOUT_FILE)
+	rm $(DESTDIR)/$(ABOUT_FILE).tmp
+	cp -pr ../extra $(DESTDIR)/$(libpddir)/
+	rm -f $(DESTDIR)/$(libpddir)/extra/*/*.o
+	install -d $(DESTDIR)/$(includedir)
+	install -m644 m_pd.h $(DESTDIR)/$(includedir)/m_pd.h
+	install -d $(DESTDIR)/$(mandir)/man1
+	gzip < ../man/pd.1 >  $(DESTDIR)/$(mandir)/man1/pd.1.gz
+	chmod 644 $(DESTDIR)/$(mandir)/man1/pd.1.gz
+	gzip < ../man/pdsend.1 >  $(DESTDIR)/$(mandir)/man1/pdsend.1.gz
+	chmod 644 $(DESTDIR)/$(mandir)/man1/pdsend.1.gz
+	gzip < ../man/pdreceive.1 >  $(DESTDIR)/$(mandir)/man1/pdreceive.1.gz
+	chmod 644 $(DESTDIR)/$(mandir)/man1/pdreceive.1.gz
 	@echo "Pd install succeeded."
 
 local-clean: