darling-gpatch/Makefile
2020-08-02 18:15:53 -04:00

23 lines
555 B
Makefile

##
# Makefile for Patch
##
# Project info
Project = patch
UserType = Developer
ToolType = Commands
Extra_CC_Flags = -mdynamic-no-pic -Wformat-security
GnuAfterInstall = install-plist
# It's a GNU Source project
include $(MAKEFILEPATH)/CoreOS/ReleaseControl/GNUSource.make
OSV = $(DSTROOT)/usr/local/OpenSourceVersions
OSL = $(DSTROOT)/usr/local/OpenSourceLicenses
install-plist:
$(MKDIR) $(OSV)
$(INSTALL_FILE) $(SRCROOT)/patch_cmds.plist $(OSV)/gpatch.plist
$(MKDIR) $(OSL)
$(INSTALL_FILE) $(Sources)/COPYING $(OSL)/gpatch.txt