aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)