This allows to build and install the shared library and the oslfsck
executable on systems without help2man via
make shared oslfsck
sudo make install-lib install-bin
endif
all: $(realname) $(executables) $(man_pages)
+shared: $(realname)
+
Makefile.deps: $(wildcard *.c *.h)
$(CC) -MM -MG *.c > $@
osl.c fsck.c:
install: all install-bin install-man install-lib
-.PHONY: all clean install install-bin install-man install-lib
+.PHONY: all shared clean install install-bin install-man install-lib
web/%.1.html: %.1
man2html $< > $@