/[public]/getopt/trunk/Makefile
ViewVC logotype

Diff of /getopt/trunk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 264 Revision 265
14LIBCGETOPT=1 14LIBCGETOPT=1
15 15
16# Define this to 1 if you do not have the gettext routines 16# Define this to 1 if you do not have the gettext routines
17WITHOUT_GETTEXT=0 17WITHOUT_GETTEXT=0
18 18
19 19# For creating the archive
20PACKAGE=getopt
21VERSION=1.1.4
22BASENAME=$(PACKAGE)-$(VERSION)
23UNLIKELYNAME=a8vwjfd92
20 24
21SHELL=/bin/sh 25SHELL=/bin/sh
22 26
23CC=gcc 27CC=gcc
24LD=ld 28LD=ld
91%.o: %.c 95%.o: %.c
92 $(CC) -c $(CPPFLAGS) $(CFLAGS) $*.c -o $*.o 96 $(CC) -c $(CPPFLAGS) $(CFLAGS) $*.c -o $*.o
93 97
94%.mo: %.po 98%.mo: %.po
95 $(MSGFMT) -o $@ $< 99 $(MSGFMT) -o $@ $<
100
101# You need GNU tar for this to work!
102.PHONY: package
103package: clean
104 $(RM) -r $(UNLIKELYNAME)
105 mkdir $(UNLIKELYNAME)
106 ln -s .. $(UNLIKELYNAME)/$(BASENAME)
107 cd $(UNLIKELYNAME) && tar cfvzp ../$(BASENAME).tar.gz --exclude='CVS' --exclude='*.tar.gz' --exclude=$(UNLIKELYNAME) $(BASENAME)/*
108 $(RM) -r $(UNLIKELYNAME)

Legend:
Removed from v.264  
changed lines
  Added in v.265

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26