File: old_changes.patch

package info (click to toggle)
dbview 1.0.4-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 132 kB
  • sloc: ansic: 383; makefile: 107
file content (30 lines) | stat: -rw-r--r-- 840 bytes parent folder | download | duplicates (2)
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
Description: Add old changes in patch format

---

--- dbview-1.0.4.orig/Makefile
+++ dbview-1.0.4/Makefile
@@ -18,6 +18,8 @@
 
 
 MAN=man
+MANO=man
+MANG=man
 
 CC= gcc
 CFLAGS= -O6 -fomit-frame-pointer -Wall -pipe
@@ -44,10 +46,10 @@ depend:
 	makedepend *.c
 
 install: all
-	$(INSTALL) -d -o root -g root -m 755 $(bindir)
-	$(INSTALL) -s -o root -g root -m 755 dbview $(bindir)
-	$(INSTALL) -d -o $(MAN) -g $(MAN) -m 755 $(mandir)/man1
-	$(INSTALL) -o $(MAN) -g $(MAN) -m 644 dbview.1 $(mandir)/man1
+	-test -d $(bindir) || $(INSTALL) -d -o root -g root -m 755 $(bindir)
+	$(INSTALL) -o root -g root -m 755 dbview $(bindir)
+	-test -d $(mandir)/man1 || $(INSTALL) -d -o $(MANO) -g $(MANG) -m 755 $(mandir)/man1
+	$(INSTALL) -o $(MANO) -g $(MANG) -m 644 dbview.1 $(mandir)/man1
 
 clean:
 	rm -f dbview *.o *.log *~ *.orig Makefile.bak;