From 2a562fd5a7d935d3743f6746927236b40f891a5c Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 12 Mar 2021 08:21:16 +0200 Subject: clean up Makefile --- Makefile | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/Makefile b/Makefile index e0175c2..be4b342 100644 --- a/Makefile +++ b/Makefile @@ -4,45 +4,24 @@ sharedir = $(prefix)/share mandir = $(sharedir)/man man1dir = $(mandir)/man1 -progs = corrupt isascii scripts = \ argv0 \ - assert \ - benchmark-cmd \ - build-deb-from-git \ do-until \ filecount \ - fix-shebang \ - humanify \ jwt-decode \ - keepalive \ lorem \ mark-maildir-seen \ - mbox2maildir \ - minimify \ - musictomp3 \ - os-rchelper \ prettyml \ prettyson \ print-argv \ - progress-du \ - project.meta \ - runql \ - setuppy-debian-versions-match \ - splitmboxdaily \ ssl-cert-gen \ - test-flacs \ - totp \ - unpack-debian-sources \ - viewprof \ - whatismyip \ - with + totp manpagesin = $(shell ls *.1.in) CFLAGS = -Wall -O2 --std=gnu99 -all: $(progs) manpages +all: manpages manpages: $(manpagesin) for x in $(manpagesin); do cmd=$$(basename $$x .1.in); \ @@ -53,7 +32,3 @@ install: all install $(progs) $(scripts) $(DESTDIR)$(bindir) install -d $(DESTDIR)$(man1dir) install -m 0644 *.1 $(DESTDIR)$(man1dir) - -clean: - rm -f $(progs) *.o - for x in $(manpagesin); do rm -f $$(basename $$x .in); done -- cgit v1.2.1