fix archive creation
- do not pack doc/* - include version in filename
This commit is contained in:
parent
02f775d7c2
commit
6cd4589640
|
@ -2,6 +2,7 @@
|
||||||
*.d
|
*.d
|
||||||
hlswmaster
|
hlswmaster
|
||||||
hlswmaster.log
|
hlswmaster.log
|
||||||
|
doc
|
||||||
doc/*
|
doc/*
|
||||||
masterquery
|
masterquery
|
||||||
hlswmaster-ng.tar.gz
|
hlswmaster-ng-*.tar.gz
|
||||||
|
|
13
Makefile
13
Makefile
|
@ -1,7 +1,7 @@
|
||||||
VERSION := '"v1.00"'
|
VERSION := v1.00
|
||||||
|
|
||||||
CFLAGS := -O2 -pipe -Wall -DVERSION=$(VERSION)
|
CFLAGS := -O2 -pipe -Wall -DVERSION='"$(VERSION)"'
|
||||||
CXXFLAGS := -O2 -pipe -Wall -Wunused -Wno-deprecated -DVERSION=$(VERSION)
|
CXXFLAGS := -O2 -pipe -Wall -Wunused -Wno-deprecated -DVERSION='"$(VERSION)"'
|
||||||
LIBS := -lpthread
|
LIBS := -lpthread
|
||||||
|
|
||||||
HLSWMASTER_SRC := config.o gameentry.o gamelist.o gameparser.o gamescanner.o \
|
HLSWMASTER_SRC := config.o gameentry.o gamelist.o gameparser.o gamescanner.o \
|
||||||
|
@ -26,16 +26,17 @@ masterquery: masterquery.o
|
||||||
|
|
||||||
dist: clean
|
dist: clean
|
||||||
ln -s . hlswmaster-ng
|
ln -s . hlswmaster-ng
|
||||||
tar -czhf hlswmaster-ng.tar.gz hlswmaster-ng/ \
|
tar -czhf hlswmaster-ng-$(VERSION).tar.gz hlswmaster-ng/ \
|
||||||
--exclude hlswmaster-ng/.git \
|
--exclude hlswmaster-ng/.git \
|
||||||
--exclude hlswmaster-ng/.gitignore \
|
--exclude hlswmaster-ng/.gitignore \
|
||||||
--exclude hlswmaster-ng/hlswmaster-ng.tar.gz \
|
--exclude hlswmaster-ng/doc \
|
||||||
|
--exclude hlswmaster-ng/hlswmaster-ng-$(VERSION).tar.gz \
|
||||||
--exclude hlswmaster-ng/hlswmaster-ng
|
--exclude hlswmaster-ng/hlswmaster-ng
|
||||||
rm hlswmaster-ng
|
rm hlswmaster-ng
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f hlswmaster masterquery *.d *.o *.log \
|
rm -f hlswmaster masterquery *.d *.o *.log \
|
||||||
hlswmaster-ng hlswmaster-ng.tar.gz
|
hlswmaster-ng hlswmaster-ng-$(VERSION).tar.gz
|
||||||
|
|
||||||
##DEPS := $(wildcard *.cpp)
|
##DEPS := $(wildcard *.cpp)
|
||||||
##-include $(DEPS:.cpp=.d)
|
##-include $(DEPS:.cpp=.d)
|
||||||
|
|
Loading…
Reference in New Issue