flashcard-archive/archive/ndsill.net/old/Makefile

15 lines
424 B
Makefile

.PHONY: package
export TOPDIR := $(shell pwd $(CURDIR))
export BASE := ndsill.net/$(shell basename $(CURDIR))
export OUT := $(TOPDIR)/../../../out
export COMMON := $(TOPDIR)/../../../common-kernels
package: directory ndsill.net_original_Kernel_1.45.zip
directory:
mkdir -p $(OUT)/$(BASE)
ndsill.net_original_Kernel_1.45.zip: directory
cd $(TOPDIR)/ndsill.net_original_Kernel_1.45 && zip -r -X $(OUT)/$(BASE)/$@ *