summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-03-12 08:21:16 +0200
committerLars Wirzenius <liw@liw.fi>2021-03-12 08:24:06 +0200
commit2a562fd5a7d935d3743f6746927236b40f891a5c (patch)
tree8e650f8fa479684064e068c9c5ea01e50c96d524 /Makefile
parent1299e9a2729c825bdd77d4598b17d04e2393dfe2 (diff)
downloadextrautils-2a562fd5a7d935d3743f6746927236b40f891a5c.tar.gz
clean up Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile29
1 files 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