File tree Expand file tree Collapse file tree 3 files changed +591
-2
lines changed
Expand file tree Collapse file tree 3 files changed +591
-2
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,16 @@ COMPLETION_FILES=completions/_trurl.zsh
4444INSTALL ?= install
4545PYTHON3 ?= python3
4646
47+ all : $(TARGET ) $(MANUAL )
48+
4749$(TARGET ) : $(OBJS )
4850 $(CC ) $(LDFLAGS ) $(OBJS ) -o $(TARGET ) $(LDLIBS )
4951
5052trurl.o : trurl.c version.h
5153
54+ $(MANUAL ) : trurl.md
55+ ./scripts/cd2nroff trurl.md > $(MANUAL )
56+
5257.PHONY : install
5358install :
5459 $(INSTALL ) -d $(DESTDIR )$(BINDIR )
@@ -64,7 +69,7 @@ install:
6469
6570.PHONY : clean
6671clean :
67- rm -f $(OBJS ) $(TARGET ) $(COMPLETION_FILES )
72+ rm -f $(OBJS ) $(TARGET ) $(COMPLETION_FILES ) $( MANUAL )
6873
6974.PHONY : test
7075test : $(TARGET )
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ sed -ie "s/^Source: trurl \([0-9.]*\)/Source: trurl $version/" trurl.md
4646sed -ie " s/\" [\.0-9]*\" /\" $version \" /" version.h
4747
4848# render the manpage into nroff
49- ./curl/ scripts/cd2nroff trurl.md > $rel /trurl.1
49+ ./scripts/cd2nroff trurl.md > $rel /trurl.1
5050
5151# create a release directory tree
5252cp -p --parents $( git ls-files | grep -vE ' ^(.github/|.reuse/|.gitignore|LICENSES/)' ) $rel
You can’t perform that action at this time.
0 commit comments