]> git.tuebingen.mpg.de Git - osl.git/blobdiff - Makefile
web: Remove SSI for last modification in footer.html.
[osl.git] / Makefile
index 967b00d205939370430b99cfd9f89c0de7207a13..09ad34b3edcde8ab57ef140ed1ee35e32c61179f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ OBJCOPY := objcopy
 # The way x, y and z are interpreted depends on the OS.
 x := 0
 y := 1
-z := 1
+z := 2
 VERSION := $(x).$(y).$(z)
 
 # common flags
@@ -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:
@@ -188,13 +190,13 @@ install-man: $(man_pages)
 install-lib: $(realname) $(headers)
        $(MKDIR) $(libdir) $(includedir)
        $(RM) $(libdir)/$(linkername)
-       $(LN) -s $(libdir)/$(soname) $(libdir)/$(linkername)
+       $(LN) -s $(soname) $(libdir)/$(linkername)
        $(INSTALL) -m 755 $(realname) $(libdir)
        $(INSTALL) -m 644 $(headers) $(includedir)
 
 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 $< > $@