[gjs-documentation] Makefile: add a rule to clean generated stuff



commit cec290c6bb8adfab2665a8b82bc88e08ff12d60b
Author: Giovanni Campagna <gcampagna gnome org>
Date:   Tue Mar 4 15:26:00 2014 +0100

    Makefile: add a rule to clean generated stuff
    
    Which is useful to force a rebuild in case g-ir-doc-tool was
    updated

 Makefile |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/Makefile b/Makefile
index a9d35ab..5bc96fb 100644
--- a/Makefile
+++ b/Makefile
@@ -36,9 +36,9 @@ GENERATED_NAMESPACES = \
 NAMESPACES = $(STATIC_NAMESPACES) $(GENERATED_NAMESPACES)
 
 GIRS = $(foreach g,$(NAMESPACES),$(girdir)/$(g).gir)
-MALLARDS = \
-       $(foreach g,$(STATIC_NAMESPACES),$(outdir)/static/$(g)) \
-       $(foreach g,$(GENERATED_NAMESPACES),$(outdir)/generated/$(g))
+STATIC_MALLARDS = $(foreach g,$(STATIC_NAMESPACES),$(outdir)/static/$(g))
+GENERATED_MALLARDS = $(foreach g,$(GENERATED_NAMESPACES),$(outdir)/generated/$(g))
+MALLARDS = $(STATIC_MALLARDS) $(GENERATED_MALLARDS)
 HTMLS = $(foreach g,$(NAMESPACES),html/$(g))
 
 all: $(HTMLS)
@@ -66,3 +66,5 @@ upload: all
 
 clean:
        -rm -fr $(HTMLS)
+maintainerclean:
+       -rm -fr $(GENERATED_MALLARDS)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]