aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar lostd <lostd@2f30.org>2014-11-14 15:47:18 +0200
committerGravatar lostd <lostd@2f30.org>2014-11-14 15:47:18 +0200
commiteebbf61c10fd8acb173e30186d1e49242af0d39c (patch)
tree09480ad28243af2585756ceff2cb345fa66dc373 /Makefile
parent3e8555fdc62905e1b696d1d96f981492d7ccbd13 (diff)
downloadnnn-eebbf61c10fd8acb173e30186d1e49242af0d39c.tar.gz
Use a var for dist files and remove queue.h
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ed40ea9..85114c7 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,8 @@ MANPREFIX = $(PREFIX)/man
#CFLAGS += -g
LDLIBS = -lncursesw
+DISTFILES = noice.c strlcat.c strlcpy.c util.h config.def.h\
+ noice.1 Makefile README LICENSE
OBJ = noice.o strlcat.o strlcpy.o
BIN = noice
@@ -31,7 +33,7 @@ uninstall:
dist:
mkdir -p noice-$(VERSION)
- cp LICENSE Makefile README config.def.h noice.1 noice.c queue.h strlcat.c strlcpy.c util.h noice-$(VERSION)
+ cp $(DISTFILES) noice-$(VERSION)
tar -cf noice-$(VERSION).tar noice-$(VERSION)
gzip noice-$(VERSION).tar
rm -rf noice-$(VERSION)