]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - pkgs/core/m4/m4.nm
naoki: Mixed things.
[people/stevee/ipfire-3.x.git] / pkgs / core / m4 / m4.nm
index cbc0feabc4802a2bf58d5c514f6c39e010de01f7..428fefa29248a68eeb3c3c99383d68b68d91ecf8 100644 (file)
@@ -51,9 +51,7 @@ include ../../Rules
 # Installation Details
 ###############################################################################
 
-$(STAGE_BUILD): $(STAGE_PREPARE)
-       @$(PRE_BUILD)
-
+define STAGE_BUILD
        # We need -D_GNU_SOURCE because this version of M4 has a bug in gnulib (or
        # possibly autoconf) that doesn't recognise that we have asprintf() in libc.
        cd $(DIR_APP) && \
@@ -64,5 +62,4 @@ $(STAGE_BUILD): $(STAGE_PREPARE)
                        --prefix=/usr
 
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)
-
-       @$(POST_BUILD)
+endef