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
|
||||
hlswmaster
|
||||
hlswmaster.log
|
||||
doc
|
||||
doc/*
|
||||
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)
|
||||
CXXFLAGS := -O2 -pipe -Wall -Wunused -Wno-deprecated -DVERSION=$(VERSION)
|
||||
CFLAGS := -O2 -pipe -Wall -DVERSION='"$(VERSION)"'
|
||||
CXXFLAGS := -O2 -pipe -Wall -Wunused -Wno-deprecated -DVERSION='"$(VERSION)"'
|
||||
LIBS := -lpthread
|
||||
|
||||
HLSWMASTER_SRC := config.o gameentry.o gamelist.o gameparser.o gamescanner.o \
|
||||
|
@ -26,16 +26,17 @@ masterquery: masterquery.o
|
|||
|
||||
dist: clean
|
||||
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/.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
|
||||
rm hlswmaster-ng
|
||||
|
||||
clean:
|
||||
rm -f hlswmaster masterquery *.d *.o *.log \
|
||||
hlswmaster-ng hlswmaster-ng.tar.gz
|
||||
hlswmaster-ng hlswmaster-ng-$(VERSION).tar.gz
|
||||
|
||||
##DEPS := $(wildcard *.cpp)
|
||||
##-include $(DEPS:.cpp=.d)
|
||||
|
|
Loading…
Reference in New Issue