[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Proposal: Makefile improvement for the release notes



Hi, all

Now the Makefile has the following entry for the list of XML files:

XMLEXTRAFILES-en=daemons-en.xml database-servers-en.xml desktop-en.xml development-tools-en.xml feedback-en.xml file-servers-en.xml file-systems-en.xml hardware-reqs-en.xml install-notes-en.xml intro-en.xml java-package-en.xml kernel-en.xml misc-server-en.xml multimedia-en.xml networking-en.xml overview-en.xml package-movement-en.xml package-notes-en.xml printing-en.xml project-overview-en.xml samba-en.xml security-en.xml server-tools-en.xml splash-en.xml web-servers-en.xml xorg-en.xml

IMHO, it could be generalized for the languages like below:

---- 8X ---- 8X ---- 8X ---- 8X ---- 8X ---- 8X ---- 8X ----
define XMLEXTRAFILES_template
XMLEXTRAFILES-$(1)=daemons-$(1).xml desktop-$(1).xml development-tools-$(1).xml feedback-$(1).xml file-servers-$(1).xml hardware-reqs-$(1).xml install-notes-$(1).xml intro-$(1).xml java-package-$(1).xml kernel-$(1).xml misc-server-$(1).xml multimedia-$(1).xml networking-$(1).xml overview-$(1).xml package-movement-$(1).xml package-notes-$(1).xml printing-$(1).xml project-overview-$(1).xml samba-$(1).xml security-$(1).xml server-tools-$(1).xml splash-$(1).xml web-servers-$(1).xml xorg-$(1).xml

$(foreach LANG,${LANGUAGES},$(eval $(call XMLEXTRAFILES_template,${LANG})))
---- X8 ---- X8 ---- X8 ---- X8 ---- X8 ---- X8 ---- X8 ----
# I removed unused files(i.e. database-servers-*.xml,
# file-systems-*.xml) from it.

Regards,
-- 
SEKINE Tatsuo:
 tsekine sdri co jp    System Design & Research Inst. Co.,Ltd.
 http://www.amazon.co.jp/exec/obidos/ASIN/4797329750


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]