1# Set these variables as needed, then include this file, then:
2#
3
4# Project info
5Project         = texinfo
6UserType        = Documentation
7ToolType        = Services
8GnuAfterInstall = fix-locale install-dir install-plist
9Extra_CC_Flags  = -mdynamic-no-pic
10
11include $(MAKEFILEPATH)/CoreOS/ReleaseControl/GNUSource.make
12
13# texinfo installs some locale information in a way which conflicts with other
14# projects.  Conform to the standard.
15fix-locale:
16	$(MV) $(DSTROOT)/usr/share/locale/de_AT $(DSTROOT)/usr/share/locale/de_AT.ISO8859-1
17	$(RM) $(DSTROOT)/usr/lib/charset.alias
18
19install-dir:
20	$(MKDIR) $(DSTROOT)/usr/share/info
21	$(INSTALL_FILE) $(SRCROOT)/dir $(DSTROOT)/usr/share/info/dir
22
23OSV     = $(DSTROOT)/usr/local/OpenSourceVersions
24OSL     = $(DSTROOT)/usr/local/OpenSourceLicenses
25
26install-plist:
27	$(MKDIR) $(OSV)
28	$(INSTALL_FILE) $(SRCROOT)/$(Project).plist $(OSV)/$(Project).plist
29	$(MKDIR) $(OSL)
30	$(INSTALL_FILE) $(OBJROOT)/COPYING $(OSL)/$(Project).txt
31
32