diff options
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2,7 +2,7 @@ CFLAGS += -W -Wall -g LINTFLAGS += -c -e -f -u -CLEAN = mdocml mdocml.o mdocml.ln libmdocml.o libmdocml.ln +CLEAN = mdocml mdocml.o mdocml.ln libmdocml.o libmdocml.ln mdocml.tgz INSTALL = Makefile libmdocml.h mdocml.c libmdocml.c mdocml.1 @@ -10,13 +10,15 @@ all: mdocml lint: mdocml.ln libmdocml.ln +dist: mdocml.tgz + mdocml: mdocml.o libmdocml.o $(CC) $(CFLAGS) -o $@ mdocml.o libmdocml.o clean: rm -f $(CLEAN) -dist: +mdocml.tgz: $(INSTALL) mkdir -p .dist/mdocml/ install -m 0644 $(INSTALL) .dist/mdocml/ ( cd .dist/ && tar zcf ../mdocml.tgz mdocml/ ) |