diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,6 +1,5 @@ CC = cc CCOPTS = -Wall -std=gnu99 -out = upwgen PREFIX = /usr/bin MANPREFIX = /usr/share/man @@ -14,7 +13,7 @@ VERSTR = "$(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL))$(EXTRAVERSION)" all: @if [ ! -d obj ]; then mkdir obj; fi $(CC) $(CCOPTS) -c src/i18n_cat.c -o obj/i18n_cat.o - $(CC) $(CCOPTS) -DVERSTR=$(VERSTR) src/main.c obj/*.o -o $(out) + $(CC) $(CCOPTS) -DVERSTR=$(VERSTR) src/main.c obj/*.o -o upwgen # Interpolate the man page and compress sed \ -e "s/{{ VERSTR }}/$(VERSTR)/" \ @@ -23,6 +22,6 @@ all: install: # Install the binary - install -D -m 755 $(out) "$(DESTDIR)/$(PREFIX)/$(out)" + install -D -m 755 upwgen "$(DESTDIR)/$(PREFIX)/upwgen" # Install the man page install -D -m 644 upwgen.1.gz "$(DESTDIR)/$(MANPREFIX)/man1/upwgen.1.gz" |