homepage/devel Makefile,1.26,1.27
Paul W. Frields (pfrields)
fedora-docs-commits at redhat.com
Sun Sep 16 14:39:12 UTC 2007
Author: pfrields
Update of /cvs/docs/homepage/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14077
Modified Files:
Makefile
Log Message:
- Get copies of ALL images needed
- Don't blow away wrong folders, sorry!
Index: Makefile
===================================================================
RCS file: /cvs/docs/homepage/devel/Makefile,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- Makefile 16 Sep 2007 04:50:05 -0000 1.26
+++ Makefile 16 Sep 2007 14:39:10 -0000 1.27
@@ -46,9 +46,7 @@
homepage-${1}:: ${HOMEPAGEDIR}/index-${1}.html
${HOMEPAGEDIR}/index-${1}.html:: ${XMLFILES-${1}} ${XMLDEPFILES-${1}}
- mkdir -p ${HOMEPAGEDIR}/images/
cp -u ${1}/startpage.xml ${HOMEPAGEDIR}/index-${1}.html
- cp -u startpage-images/*.png ${HOMEPAGEDIR}/images/
# OLD HOMEPAGE BUILD RULES
# LANG=$(1).UTF-8 ${XMLTO} html -x $(XSLHTML) -m ${HOMEPAGE_XSL} $(1)/homepage.xml
# move-if-change index.html ${HOMEPAGEDIR}/index-${1}.html
@@ -56,7 +54,8 @@
cp ${FDPCOMMONDIR}/stylesheet-images/*.png stylesheet-images
clean::
- rm -rf ${HOMEPAGEDIR}
+ rm -f ${HOMEPAGEDIR}/index-${1}.html
+ rm -rf stylesheet-images/
endef
$(foreach L,${LANGUAGES},$(eval $(call HACK_HTML_template,${L})))
@@ -79,6 +78,8 @@
release-pkg:: ${PKGNAME}-${VERSION}.tar.gz
${PKGNAME}-${VERSION}.tar.gz:: $(foreach L,${LANGUAGES},${PKGFILES-${L}})
cp -a --parents ${HOMEPAGE_CSS} img/*png stylesheet-images/*png ${PKGNAME}-${VERSION}
+ mkdir -p ${PKGNAME}-${VERSION}/images
+ cp -u startpage-images/*png ${PKGNAME}-${VERSION}/images
tar czf ${PKGNAME}-${VERSION}.tar.gz ${PKGNAME}-${VERSION}
clean::
More information about the Fedora-docs-commits
mailing list