Makefile: Use @includedir@ instead of @prefix@/include

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1328 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2009-01-12 16:02:20 +00:00
parent abc0cf82c5
commit a5f6bc3668
+3 -2
View File
@@ -9,6 +9,7 @@ bindir := @bindir@
datadir := @datadir@
sysconfdir := @sysconfdir@
libdir := @libdir@
includedir := @includedir@
sbindir := @sbindir@
localstatedir := @localstatedir@
CXX := @CXX@
@@ -57,11 +58,11 @@ distclean: clean
install: znc
mkdir -p $(DESTDIR)$(bindir)
mkdir -p $(DESTDIR)$(prefix)/include/znc
mkdir -p $(DESTDIR)$(includedir)/znc
install -m 0755 znc $(DESTDIR)$(bindir)
install -m 0755 znc-config $(DESTDIR)$(bindir)
install -m 0755 znc-buildmod $(DESTDIR)$(bindir)
install -m 0644 $(srcdir)/*.h $(DESTDIR)$(prefix)/include/znc
install -m 0644 $(srcdir)/*.h $(DESTDIR)$(includedir)/znc
@if test -n "@MODTARGET@"; then \
$(MAKE) -C modules install DESTDIR=$(DESTDIR); \
fi