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

Martin Lenders notifications at github.com
Mon Nov 18 18:11:49 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)

But after I removed the directory (which restores the structure before make) there would be no sense in stepping into said directory and restore it to the VERSION commit.

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


More information about the notifications mailing list