Skip to content

Commit

Permalink
pkg/Makefile.{http,git}: Minor issues resolved.
Browse files Browse the repository at this point in the history
The were two recipes for clean. One of them is now "dist-clean"
  • Loading branch information
yogo1212 committed Sep 28, 2014
1 parent f539f30 commit bff3bf7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pkg/Makefile.git
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ include $(RIOTBOARD)/Makefile.base
include $(RIOTBOARD)/$(BOARD)/Makefile.include
endif

.PHONY: all clean patch reset
.PHONY: all clean patch distclean

all: patch
make -C $(CURDIR)/$(PKG_NAME)
$(MAKE) -C $(CURDIR)/$(PKG_NAME)

patch: $(CURDIR)/$(PKG_NAME)/Makefile
# Dependancy might be changed accordingly though we think the Makefile
Expand Down
8 changes: 4 additions & 4 deletions pkg/Makefile.http
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ PKG_URL = http://example.com/downloads # source url of the package e.g. a gi
PKG_VERSION = v1.2.3 # version of the package to use e.g. a git commit/ref
PKG_EXT = zip # extension of this package

.PHONY: all clean patch reset
.PHONY: all clean patch distclean

all: patch
make -C $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION)
$(MAKE) -C $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION)

patch: $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION)/Makefile
# Dependancy might be changed accordingly though we think the Makefile
Expand All @@ -30,7 +30,7 @@ $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT):
clean::
# Reset package to checkout state.
rm -rf $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION) && \
make $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION)/Makefile
$(MAKE) $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION)/Makefile

clean::
distclean::
rm -rf $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION) $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT)

0 comments on commit bff3bf7

Please sign in to comment.