From: Andre Noll Date: Sat, 2 Mar 2019 13:32:24 +0000 (+0100) Subject: build: Provide target distclean. X-Git-Tag: v1.0.2~4 X-Git-Url: http://git.tuebingen.mpg.de/versions/paraslash-0.3.1.tar.bz2.asc?a=commitdiff_plain;h=adbc19eed2330b9aea3e05b679c84faa8742c6d7;p=lopsub.git build: Provide target distclean. All software packages should at least provide the "clean" and "distclean" targets. So far we only supported the former, which removed all generated files. This commit adds the distclean target and modifies the clean target to only remove files generated by the compiler, but not the files that were generated by lopsubgen. --- diff --git a/Makefile b/Makefile index 89af315..683ea8b 100644 --- a/Makefile +++ b/Makefile @@ -109,7 +109,8 @@ install: liblopsub.a lopsub.7 $(INSTALL) -m 644 lopsub.7 $(PREFIX)/man/man7 clean: - $(RM) $(all) $(html) *.o *.man *.lsg.c *.lsg.h \ - lopsubgen.c config_file.c lopsubgen-stage1 \ + $(RM) $(all) $(html) *.o *.man +distclean: clean + $(RM) *.lsg.c *.lsg.h lopsubgen.c config_file.c lopsubgen-stage1 \ lopsub.h lopsub.7 lopsub-suite.5 version.c