mirror of
https://github.com/darlinghq/darling-gpatch.git
synced 2024-11-26 21:40:38 +00:00
23 lines
555 B
Makefile
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
|