From aae5445bf3b2713ae3e01d864f31377b5387f578 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Thu, 7 Oct 2004 15:11:18 +0000 Subject: [PATCH] Don't put private .h into RPM; they should be only staged --- org.glite.lb.common/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/org.glite.lb.common/Makefile b/org.glite.lb.common/Makefile index 4cd1232..fd0701b 100644 --- a/org.glite.lb.common/Makefile +++ b/org.glite.lb.common/Makefile @@ -107,7 +107,7 @@ ${THRLTLIB}: ${THROBJS} -lm stage: compile - $(MAKE) install PREFIX=${stagedir} + $(MAKE) install PREFIX=${stagedir} DOSTAGE=yes check: compile check.parse check.gss check.il @@ -150,13 +150,15 @@ distbin: rm -rf tmpbuilddir install: - mkdir -p ${PREFIX}/include/${globalprefix}/${lbprefix} mkdir -p ${PREFIX}/lib mkdir -p ${PREFIX}/share/doc/${package}-${version} ${INSTALL} -m 644 ${STATICLIB} ${THRSTATICLIB} ${PREFIX}/lib ${INSTALL} -m 644 ${LTLIB} ${THRLTLIB} ${PREFIX}/lib ${INSTALL} -m 644 ${top_srcdir}/LICENSE ${PREFIX}/share/doc/${package}-${version} - cd ${top_srcdir}/interface && install -m 644 ${HDRS} ${PREFIX}/include/${globalprefix}/${lbprefix} + if [ x${DOSTAGE} = xyes ]; then \ + mkdir -p ${PREFIX}/include/${globalprefix}/${lbprefix} ; \ + cd ${top_srcdir}/interface && install -m 644 ${HDRS} ${PREFIX}/include/${globalprefix}/${lbprefix} ; \ + fi clean: -- 1.8.2.3