]> mj.ucw.cz Git - libucw.git/blobdiff - free/libs/Makefile
Example: Fix the previous commit.
[libucw.git] / free / libs / Makefile
index 8c5494b3c7f53c9e376eb48158b4354b3a063efb..c08913f8a3f22f12e98a39f925d17ba67fff5094 100644 (file)
@@ -10,8 +10,13 @@ s=.
 obj/config.mk:
        @echo "You need to run configure first." && false
 
 obj/config.mk:
        @echo "You need to run configure first." && false
 
+BUILDSYS=$(s)/build
+
 # We will use the libucw build system
 # We will use the libucw build system
-include $(s)/build/Maketop
+include $(BUILDSYS)/Maketop
+
+# Install the build system
+include $(BUILDSYS)/Makefile
 
 # The UCW library
 include $(s)/ucw/Makefile
 
 # The UCW library
 include $(s)/ucw/Makefile
@@ -57,7 +62,7 @@ endif
 libs: $(LIBUCW) $(LIBSH) $(LIBIMAGES) $(LIBCHARSET) $(LIBLANG)
 
 # And finally the default rules of the build system
 libs: $(LIBUCW) $(LIBSH) $(LIBIMAGES) $(LIBCHARSET) $(LIBLANG)
 
 # And finally the default rules of the build system
-include $(s)/build/Makebottom
+include $(BUILDSYS)/Makebottom
 
 ifndef CONFIG_LOCAL
 install: all $(INSTALL_TARGETS)
 
 ifndef CONFIG_LOCAL
 install: all $(INSTALL_TARGETS)