From: Aleš Křenek Date: Thu, 7 Oct 2004 15:11:18 +0000 (+0000) Subject: Don't put private .h into RPM; they should be only staged X-Git-Tag: glite-lb-common_R_0_2_0~120 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=aae5445bf3b2713ae3e01d864f31377b5387f578;p=jra1mw.git Don't put private .h into RPM; they should be only staged --- 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: