Skip to content

Commit

Permalink
Allow manpage generation to fail.
Browse files Browse the repository at this point in the history
git sets the file timestampts to the current time. If the clock changes
the second after the .ronn file is downloaded and before the .8 roff file
is downloaded make will believe the manpage is out of date and try to
generate it. This is bad when we are deploying with git to users who
do not have ronn installed.

Reported by Otto.
  • Loading branch information
juster committed Sep 10, 2010
1 parent 3cf1e7c commit 9c42645
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -36,7 +36,7 @@ clydelib/utilcore.so: clydelib/utilcore.c
$(CC) $(CFLAGS) $(LUACFLAGS) -o clydelib/utilcore.so clydelib/utilcore.c

man/clyde.8: man/clyde.ronn
ronn man/clyde.ronn
-ronn man/clyde.ronn

clyde: clydelib/signal.so clydelib/utilcore.so man/clyde.8

Expand All @@ -53,7 +53,7 @@ install_clyde: clyde
$(INSTALL_PROGRAM) clydelib/signal.so \
$(DESTDIR)$(libdir)/clydelib/signal.so
$(INSTALL_DATA) clydelib/*.lua $(DESTDIR)$(sharedir)/clydelib/
$(INSTALL_DATA) man/clyde.8 $(DESTDIR)$(man8dir)/clyde$(manext)
$(INSTALL_DATA) man/clyde$(manext) $(DESTDIR)$(man8dir)/clyde$(manext)
$(INSTALL_DATA) extras/_clydezsh $(DESTDIR)$(zshcompdir)/_clyde
$(INSTALL_DATA) extras/clydebash $(DESTDIR)$(bashcompdir)/clyde

Expand Down

0 comments on commit 9c42645

Please sign in to comment.