aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-12-16 06:22:56 -0500
committerB. Watson <urchlay@slackware.uk>2024-12-16 06:22:56 -0500
commit8994b9d28ebe5b6c3c90330a32d8317cd7299d9b (patch)
treeacc5779128fa5870bda0d5e14aab9622c9a13bc9 /Makefile
parent09cda6bf8feda34b581040dc3a9cfb0e50c7a88e (diff)
downloaduxd-8994b9d28ebe5b6c3c90330a32d8317cd7299d9b.tar.gz
add options to --help message.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 115ff0c..128e6e7 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,10 @@ CFLAGS=$(DEFINES) $(WARNFLAGS) $(MYCFLAGS)
all: uxd man
-uxd: uxd.c getopt.c
+uxd: uxd.c getopt.c usage.c
+
+usage.c: uxd.rst mkusage.pl
+ perl mkusage.pl uxd.rst > usage.c
install: all
mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MAN1DIR)