File: include.patch

package info (click to toggle)
procmeter3 3.6-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,444 kB
  • sloc: ansic: 16,600; makefile: 428; sh: 13
file content (30 lines) | stat: -rw-r--r-- 1,086 bytes parent folder | download | duplicates (4)
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: Moves procmeter.h under /usr/include/procmeter3
Author: Wences Arana <aranax@debian.org.gt>
Bug-Debian: http://bugs.debian.org/651150
Forwarded: No

Index: procmeter3/Makefile
===================================================================
--- procmeter3.orig/Makefile	2011-12-07 12:49:44.000000000 -0600
+++ procmeter3/Makefile	2011-12-07 12:50:27.000000000 -0600
@@ -19,6 +19,9 @@
 # MANDIR - the directory to install man pages to
 MANDIR=$(INSTDIR)/share/man
 
+# INCLUDEDIR - the directory to include libraries
+INCLUDEDIR=$(INSTDIR)/lib/include
+
 # LIB_PATH - the root dir for library files
 LIB_PATH=$(INSTDIR)/lib/ProcMeter3
 
@@ -165,8 +168,8 @@
 	[ -f $(DESTDIR)$(RC_PATH)/procmeterrc ] || install -m 644 procmeterrc.install $(DESTDIR)$(RC_PATH)/procmeterrc
 	install -m 644 procmeterrc.install $(DESTDIR)$(RC_PATH)
 #
-	install -d $(DESTDIR)$(LIB_PATH)/include
-	install -m 644 procmeter.h $(DESTDIR)$(LIB_PATH)/include
+	install -d $(INCLUDEDIR)/procmeter3
+	install -m 644 procmeter.h $(INCLUDEDIR)/procmeter3
 
 install-strip :
 	$(MAKE) install STRIP=-s