[riot-notifications] [RIOT] Add libcoap as BSD ports-like package (#336)

Martin Lenders notifications at github.com
Tue Nov 19 09:16:01 CET 2013


> +
> +.PHONY: all clean
> +
> +all: patch 
> +	make -C $(PKG_NAME)
> +
> +patch: $(PKG_NAME)/Makefile
> +	
> +$(PKG_NAME)/Makefile: $(PKG_NAME)/.git/config	
> +	cd $(PKG_NAME) && git apply ../patch.txt
> +
> +$(PKG_NAME)/.git/config:
> +	git clone $(PKG_URL) $(PKG_NAME) && cd $(PKG_NAME) && git checkout $(VERSION)
> +
> +clean:
> +	rm -rf $(PKG_NAME)

And @LudwigOrtmann: A diff you do best in GitHub md with
```
```diff
-       rm -rf $(PKG_NAME)
+       cd $(PKG_NAME) && \
+               git clean -x -f && \
+               git reset --hard $(VERSION)
```
```
which results in 
```diff
-       rm -rf $(PKG_NAME)
+       cd $(PKG_NAME) && \
+               git clean -x -f && \
+               git reset --hard $(VERSION)
```
Then I don't accidentally ignore the '-' at the start of the line and get confused ;-)

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/336/files#r7750727
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131119/88abcc89/attachment.html>


More information about the notifications mailing list