Skip to content

Commit

Permalink
Don't generate empty catpages by mistake.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmonz committed Jan 25, 2024
1 parent 3f04694 commit 7454a20
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Makefile
Expand Up @@ -10,16 +10,20 @@ default: it
.SUFFIXES: .0 .1 .5 .7 .8

.1.0:
$(NROFF) -man $< >$@
$(NROFF) -man $< >$@; \
ret=$$?; [ 0 = $$ret ] || rm -f $@; exit $$ret

.5.0:
$(NROFF) -man $< >$@
$(NROFF) -man $< >$@; \
ret=$$?; [ 0 = $$ret ] || rm -f $@; exit $$ret

.7.0:
$(NROFF) -man $< >$@
$(NROFF) -man $< >$@; \
ret=$$?; [ 0 = $$ret ] || rm -f $@; exit $$ret

.8.0:
$(NROFF) -man $< >$@
$(NROFF) -man $< >$@; \
ret=$$?; [ 0 = $$ret ] || rm -f $@; exit $$ret

addresses.0: \
addresses.5
Expand Down

0 comments on commit 7454a20

Please sign in to comment.