# Project info Project = texi2html UserType = Administrator ToolType = Commands Extra_Install_Flags = texinfohtmldir="$(RC_Install_HTML)" GnuAfterInstall = remove-dir install-plist # It's a GNU Source project include $(MAKEFILEPATH)/CoreOS/ReleaseControl/GNUSource.make # This *is* texi2html, so we can't use the one on the system. Environment := $(subst TEXI2HTML,BOGUS_TEXI2HTML,$(Environment)) # Automatic Extract & Patch AEP = YES AEP_Project = $(Project) AEP_Version = 1.70 AEP_ProjVers = $(AEP_Project)-$(AEP_Version) AEP_Filename = $(AEP_ProjVers).tar.bz2 AEP_ExtractDir = $(AEP_ProjVers) AEP_Patches = ifeq ($(suffix $(AEP_Filename)),.bz2) AEP_ExtractOption = j else AEP_ExtractOption = z endif # Extract the source. install_source:: ifeq ($(AEP),YES) $(TAR) -C $(SRCROOT) -$(AEP_ExtractOption)xf $(SRCROOT)/$(AEP_Filename) $(RMDIR) $(SRCROOT)/$(AEP_Project) $(MV) $(SRCROOT)/$(AEP_ExtractDir) $(SRCROOT)/$(AEP_Project) for patchfile in $(AEP_Patches); do \ cd $(SRCROOT)/$(Project) && patch -p0 < $(SRCROOT)/patches/$$patchfile; \ done endif remove-dir: $(RM) $(DSTROOT)/usr/share/info/dir OSV = $(DSTROOT)/usr/local/OpenSourceVersions OSL = $(DSTROOT)/usr/local/OpenSourceLicenses install-plist: $(MKDIR) $(OSV) $(INSTALL_FILE) $(SRCROOT)/$(Project).plist $(OSV)/$(Project).plist $(MKDIR) $(OSL) $(INSTALL_FILE) $(Sources)/COPYING $(OSL)/$(Project).txt