Skip to content

Commit

Permalink
Fix release target
Browse files Browse the repository at this point in the history
Change Makefile to append to CFLAGS
  • Loading branch information
skreuzer committed Nov 19, 2010
1 parent 05699b5 commit d9a1a6f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions Makefile
Expand Up @@ -5,5 +5,13 @@ VERSION = ptpd-1.1.0
release:
(cd src; make clean)
mkdir $(VERSION)
(cd $(VERSION); ln -s ../src .; ln -s ../doc .; ln -s ../tools .; ln -s ../extras .)
tar cvzf $(VERSION).tar.gz -L --exclude .o --exclude Doxygen --exclude .svn --exclude .dep $(VERSION) COPYRIGHT ChangeLog Makefile README RELEASE_NOTES
(cd $(VERSION); \
ln -s ../src .; \
ln -s ../doc .; \
ln -s ../tools .; \
ln -s ../COPYRIGHT .; \
ln -s ../ChangeLog .; \
ln -s ../Makefile .; \
ln -s ../README .; \
ln -s ../RELEASE_NOTES .)
tar cvzf $(VERSION).tar.gz -L --exclude .o --exclude Doxygen --exclude .svn --exclude .dep --exclude core $(VERSION)
2 changes: 1 addition & 1 deletion src/Makefile
@@ -1,7 +1,7 @@
# Makefile for ptpd

RM = rm -f
CFLAGS = -Wall #-DBSD_INTERFACE_FUNCTIONS
CFLAGS+= -Wall #-DBSD_INTERFACE_FUNCTIONS
#CPPFLAGS = -DPTPD_DBG -DPTPD_NO_DAEMON

PROG = ptpd
Expand Down

0 comments on commit d9a1a6f

Please sign in to comment.