readme-burning-isos/devel Makefile,NONE,1.1

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Sat Jan 27 22:06:57 UTC 2007


Author: pfrields

Update of /cvs/docs/readme-burning-isos/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23801/readme-burning-isos/devel

Added Files:
	Makefile 
Log Message:
Add content for new readme-burning-isos module


--- NEW FILE Makefile ---
########################################################################
# Fedora Documentation Project Per-document Makefile
# License: GPL
# Copyright 2005,2006 Tommy Reynolds, MegaCoder.com
########################################################################
#
# Document-specific definitions.
#
DOCBASE        	= README-BURNING-ISOS
PRI_LANG	= en_US
OTHERS		= #el es it pl pt_BR pt ru sv zh_CN
FDPDIR		= ${PWD}/../..
PKGNAME		= ${DOCBASE}

# Set this locally
VERSION		= 6

define XMLFILES_template
XMLFILES-${1}=	${1}/${DOCBASE}.xml
endef

#
########################################################################
include ../../docs-common/Makefile.common
########################################################################
#
# If you want to add additional steps to any of the 
# targets defined in "Makefile.common", be sure to use
# a double-colon in your rule here.  For example, to 
# print the message "FINISHED AT LAST" after building 
# the HTML document version, uncomment the following 
# line:
#${DOCBASE}-en/index.html::
#	echo FINISHED AT LAST
########################################################################

# This simply rides on the normal "make txt" target
define PKGTXT_template
.PHONY: pkgtxt-${1}
pkgtxt-${1}:: ${PKGNAME}-${VERSION}/README-BURNING-ISOS-${1}.txt
$(eval PKGFILES-${1}+=${PKGNAME}-${VERSION}/README-BURNING-ISOS-${1}.txt)
${PKGNAME}-${VERSION}/README-BURNING-ISOS-${1}.txt:: README-BURNING-ISOS-${1}.txt
	mkdir -p ${PKGNAME}-${VERSION}
	cp README-BURNING-ISOS-${1}.txt $$@
endef

$(foreach L,${LANGUAGES},$(eval $(call PKGTXT_template,${L})))



.PHONY: release-pkg
release-pkg:: ${PKGNAME}-${VERSION}.tar.gz
${PKGNAME}-${VERSION}.tar.gz:: $(foreach L,${LANGUAGES},${PKGFILES-${L}})
	tar czf ${PKGNAME}-${VERSION}.tar.gz ${PKGNAME}-${VERSION}

clean::
	${RM} -rf ${PKGNAME}-${VERSION}.tar.gz
	${RM} -rf ${PKGNAME}-${VERSION}

help::
	@printf ${TFMT} 'release-pkg' 'Make a tarball suitable for import to Core'




More information about the Fedora-docs-commits mailing list