Makefile
changeset 87 3682a91e7bb2
parent 82 90da520cbaa5
child 101 5799370243c0
equal deleted inserted replaced
86:3564991cd359 87:3682a91e7bb2
    84 	touch $@
    84 	touch $@
    85 
    85 
    86 all_sources: own_sources sources/open62541_src
    86 all_sources: own_sources sources/open62541_src
    87 	touch $@
    87 	touch $@
    88 
    88 
    89 sources/open62541_src:
    89 sources/open62541_src: | sources
    90 	rm -rf sources/open62541
    90 	rm -rf sources/open62541
    91 	$(call get_src_http,https://github.com/open62541/open62541/archive/refs/tags,v1.3.2.tar.gz)\
    91 	$(call get_src_http,https://github.com/open62541/open62541/archive/refs/tags,v1.3.2.tar.gz)\
    92 	tar -xzf $$dld
    92 	tar -xzf $$dld
    93 	mv open62541-1.3.2 sources/open62541
    93 	mv open62541-1.3.2 sources/open62541
    94 	
    94 	
    98 endef
    98 endef
    99 
    99 
   100 revisions.txt: $(src)/revisions.txt own_sources
   100 revisions.txt: $(src)/revisions.txt own_sources
   101 	echo "Generate revisions.txt"
   101 	echo "Generate revisions.txt"
   102 	echo "\n******* PACKAGE REVISIONS ********\n" > revisions.txt
   102 	echo "\n******* PACKAGE REVISIONS ********\n" > revisions.txt
   103 	(echo -n "beremiz_dist revision is: "; hg -R $(src) id;) >> revisions.txt
   103 	(echo -n "beremiz_public_dist revision is: "; hg -R $(src) id;) >> revisions.txt
   104 	($(foreach project,$(OWN_PROJECTS),$(call show_revision_details,$(project)))) >> revisions.txt
   104 	($(foreach project,$(OWN_PROJECTS),$(call show_revision_details,$(project)))) >> revisions.txt
   105 	bash -c 'hg -R $(src) st | ( if read ; then echo -e "\n******* beremiz_public_dist IS MODIFIED ********\n" ; hg -R $(src) st ; fi ) >> revisions.txt'
   105 	bash -c 'hg -R $(src) st | ( if read ; then echo -e "\n******* beremiz_public_dist IS MODIFIED ********\n" ; hg -R $(src) st ; fi ) >> revisions.txt'
   106 
   106 
   107 
   107 
   108 
   108