Commit 84bb78f3 authored by TimePath's avatar TimePath

Make csprogs pk3

parent 79b41d4e
Pipeline #759968 failed with stage
csprogs.dat
menu.dat
progs.dat
*.lno
/*.dat
/*.lno
.DS_Store
.idea/
html/
qccversion*
*.d
/html/
/qccversion*
/*.pk3
SCM := $(shell if [ -d .svn ]; then echo svn; elif [ -d ../.git ]; then echo git; fi)
PERL ?= perl
QCCFLAGS_WATERMARK ?= $(shell git describe)
QCCFLAGS_WATERMARK ?= $(shell git describe --tags --dirty=*)
CPP := cc -xc -E
QCC ?= gmqcc
NDEBUG ?= 1
......@@ -34,11 +32,26 @@ QCCFLAGS ?= \
XON_BUILDSYSTEM =
.PHONY: all
all: qc
all: qc pk3
.PHONY: qc
qc: $(PROGS_OUT)/menu.dat $(PROGS_OUT)/progs.dat $(PROGS_OUT)/csprogs.dat
.PHONY: pk3
pk3: qc
$(eval PROG=csprogs)
$(eval VER=${QCCFLAGS_WATERMARK})
$(eval PK3=${PROG}-${VER}.pk3)
$(eval TXT=${PROG}-${VER}.txt)
$(eval DAT=${PROG}-${VER}.dat)
$(eval LNO=${PROG}-${VER}.lno)
@ echo "http://xonotic.org" > ${TXT}
@ ln -f $(PROGS_OUT)/${PROG}.dat ${DAT}
@ ln -f $(PROGS_OUT)/${PROG}.lno ${LNO}
@ rm *.pk3
zip -9 ${PK3} ${TXT} ${DAT} ${LNO}
@ rm ${TXT} ${DAT} ${LNO}
.PHONY: clean
clean:
rm -f $(PROGS_OUT)/csprogs.dat
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment