From 777af7b3d434f139dbc53d2b7dfa957dfa7d5880 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 23 May 2012 19:21:17 +0200 Subject: [PATCH] Add shared target. 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 --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 967b00d..bd2c109 100644 --- a/Makefile +++ b/Makefile @@ -111,6 +111,8 @@ ifeq ($(format),elf) endif all: $(realname) $(executables) $(man_pages) +shared: $(realname) + Makefile.deps: $(wildcard *.c *.h) $(CC) -MM -MG *.c > $@ osl.c fsck.c: @@ -194,7 +196,7 @@ install-lib: $(realname) $(headers) 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 $< > $@ -- 2.39.2