about summary refs log tree commit diff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-10-21 02:59:50 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-10-21 02:59:50 +0000
commit50fcfe00dfef499c25e38b0e4d6c594964ca4d9a (patch)
treee8eabbd40676f1cebb0835350c9a9788d328c553 /lib/Makefile
parentaf600a78dc0f71100432cbb39792b308199fde9b (diff)
downloadnetpbm-mirror-50fcfe00dfef499c25e38b0e4d6c594964ca4d9a.tar.gz
netpbm-mirror-50fcfe00dfef499c25e38b0e4d6c594964ca4d9a.tar.xz
netpbm-mirror-50fcfe00dfef499c25e38b0e4d6c594964ca4d9a.zip
Rename header files from <xxx.h> to <netpbm/xxx.h>
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@441 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 508cd6a0..c7af819f 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -240,9 +240,11 @@ install.hdr: $(INTERFACE_HEADERS:%=%_installhdr)
 # prefer not to "install" them, but just to access the Netpbm source
 # directory when you compile your programs.
 
-%_installhdr: $(PKGDIR)/include
+.PHONY: $(INTERFACE_HEADERS:%=%_installhdr)
+
+$(INTERFACE_HEADERS:%=%_installhdr): $(PKGDIR)/include/netpbm
 	$(INSTALL) -c -m $(INSTALL_PERM_HDR) \
-	  $(SRCDIR)/lib/$(@:%_installhdr=%) $(PKGDIR)/include/;
+	  $(SRCDIR)/lib/$(@:%_installhdr=%) $(PKGDIR)/include/netpbm/
 
 .PHONY: install.staticlib
 install.staticlib: $(PKGDIR)/link