aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ctrlproxy/files/patch-Makefile
blob: ea05159aad677df93dd6b36491441c8994b0c2c5 (plain) (blame)
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
--- Makefile.orig   Sun Apr 15 14:17:58 2007
+++ Makefile    Sat Jun 16 12:00:33 2007
@@ -108,7 +108,7 @@
 ctrlproxy.pc Makefile.settings: configure Makefile.settings.in ctrlproxy.pc.in
    ./$<
 
-install: all install-dirs install-bin install-header install-data install-pkgconfig $(EXTRA_INSTALL_TARGETS)
+install: all install-dirs install-bin install-data install-pkgconfig $(EXTRA_INSTALL_TARGETS)
 install-dirs:
    $(INSTALL) -d $(DESTDIR)$(modulesdir)
 
@@ -133,7 +133,6 @@
 
 install-doc:: doc
    $(INSTALL) -d $(DESTDIR)$(docdir)
-   $(MAKE) -C doc install PACKAGE_VERSION=$(PACKAGE_VERSION)
 
 uninstall-doc: 
    $(MAKE) -C doc uninstall
@@ -156,8 +154,8 @@
    $(INSTALL) -m 0644 config.admin $(DESTDIR)$(DEFAULT_CONFIG_DIR)/networks/admin
 
 install-pkgconfig:
-   $(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig
-   $(INSTALL) -m 0644 ctrlproxy.pc $(DESTDIR)$(libdir)/pkgconfig
+   $(INSTALL) -d $(DESTDIR)$(prefix)/libdata/pkgconfig
+   $(INSTALL) -m 0644 ctrlproxy.pc $(DESTDIR)$(prefix)/libdata/pkgconfig
 
 uninstall-pkgconfig:
    -rm -f $(DESTDIR)$(libdir)/pkgconfig/ctrlproxy.pc