summaryrefslogtreecommitdiff
blob: a1f430c4bd9ffcfeb16994ae5f701ad5dd540a74 (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
diff -Naur yadex-1.7.0/GNUmakefile yadex-1.7.0.new/GNUmakefile
--- yadex-1.7.0/GNUmakefile	2006-03-16 16:08:10.000000000 -0800
+++ yadex-1.7.0.new/GNUmakefile	2006-03-16 16:11:32.000000000 -0800
@@ -392,19 +392,19 @@
 
 .PHONY: install
 install: $(OBJDIR)/install
-	@scripts/mkinstalldirs $(BINDIR)
-	@scripts/mkinstalldirs $(ETCDIR)
-	@scripts/mkinstalldirs $(MANDIR)
-	@scripts/mkinstalldirs $(MANDIR)/man6
-	@scripts/mkinstalldirs $(SHAREDIR)
-	$(OBJDIR)/install -m 755 $(OBJDIR)/yadex $(BINDIR)/yadex-$(VERSION)
-	rm -f $(BINDIR)/yadex
-	ln -s yadex-$(VERSION) $(BINDIR)/yadex
-	$(OBJDIR)/install -m 644 doc/yadex.6 $(MANDIR)/man6/yadex-$(VERSION).6
-	rm -f $(MANDIR)/man6/yadex.6
-	ln -s yadex-$(VERSION).6 $(MANDIR)/man6/yadex.6
-	$(OBJDIR)/install -m 644 -d $(SHAREDIR) $(YGD)
-	$(OBJDIR)/install -m 644 -d $(ETCDIR) yadex.cfg
+	@scripts/mkinstalldirs $(DESTDIR)$(BINDIR)
+	@scripts/mkinstalldirs $(DESTDIR)$(ETCDIR)
+	@scripts/mkinstalldirs $(DESTDIR)$(MANDIR)
+	@scripts/mkinstalldirs $(DESTDIR)$(MANDIR)/man6
+	@scripts/mkinstalldirs $(DESTDIR)$(SHAREDIR)
+	$(OBJDIR)/install -m 755 $(OBJDIR)/yadex $(DESTDIR)$(BINDIR)/yadex-$(VERSION)
+	rm -f $(DESTDIR)$(BINDIR)/yadex
+	ln -s yadex-$(VERSION) $(DESTDIR)$(BINDIR)/yadex
+	$(OBJDIR)/install -m 644 doc/yadex.6 $(DESTDIR)$(MANDIR)/man6/yadex-$(VERSION).6
+	rm -f $(DESTDIR)$(MANDIR)/man6/yadex.6
+	ln -s yadex-$(VERSION).6 $(DESTDIR)$(MANDIR)/man6/yadex.6
+	$(OBJDIR)/install -m 644 -d $(DESTDIR)$(SHAREDIR) $(YGD)
+	$(OBJDIR)/install -m 644 -d $(DESTDIR)$(ETCDIR) yadex.cfg
 	@echo "---------------------------------------------------------------"
 	@echo "  Yadex is now installed."
 	@echo