]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - pkgs/core/grep/grep.nm
naoki: Mixed things.
[people/stevee/ipfire-3.x.git] / pkgs / core / grep / grep.nm
index eefad222f9c280256a1bf86e2e8f21a648dcb35c..01d820f91dee15c6e55ea693c6fa7142cc018d6d 100644 (file)
@@ -48,9 +48,7 @@ include ../../Rules
 # Installation Details
 ###############################################################################
 
-$(STAGE_BUILD): $(STAGE_PREPARE)
-       @$(PRE_BUILD)
-
+define STAGE_BUILD
        # --without-included-regex makes Grep use libc for regex. This gets rid of
        # some compiler warnings, and I can't imagine why it's unsafe.
 
@@ -62,5 +60,4 @@ $(STAGE_BUILD): $(STAGE_PREPARE)
                        --without-included-regex
 
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)
-
-       @$(POST_BUILD)
+endef