ObjFW  Check-in [8ee55366b9]

Overview
Comment:Check version of Info.plist in make tarball.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8ee55366b9efe59519d49c6fae3043322e84757c8f9b2762a6d36f20eb652256
User & Date: js on 2010-03-15 19:44:55
Other Links: manifest | tags
Context
2010-03-15
20:51
Fix building framework as Universal Binary. check-in: e4a877634a user: js tags: trunk
19:44
Check version of Info.plist in make tarball. check-in: 8ee55366b9 user: js tags: trunk
19:44
Have the Info.plist from the framework in the repo as a file. check-in: 687f0b5006 user: js tags: trunk
Changes

Modified Makefile from [3cd5456a36] to [26e4d3cc1d].

33
34
35
36
37
38
39




40


41
42
43
44
45
46
47
48
		fi \
	done

tarball:
	V=$$(fgrep VERSION= objfw-config.in | sed 's/VERSION="\(.*\)"/\1/'); \
	V2=$$(fgrep AC_INIT configure.ac | \
	      sed 's/AC_INIT([^,]*,\([^,]*\),.*/\1/' | sed 's/ //'); \




	if test x"$$V" != x"$$V2"; then \


		echo "objfw-config.h.in and configure.ac version mismatch!"; \
		exit 1; \
	fi; \
	echo "Generating tarball for version $$V..."; \
	rm -f objfw-$$V.tar.gz; \
	rm -fr objfw-$$V; \
	hg archive objfw-$$V; \
	cp configure config.h.in objfw-$$V; \







>
>
>
>
|
>
>
|







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
		fi \
	done

tarball:
	V=$$(fgrep VERSION= objfw-config.in | sed 's/VERSION="\(.*\)"/\1/'); \
	V2=$$(fgrep AC_INIT configure.ac | \
	      sed 's/AC_INIT([^,]*,\([^,]*\),.*/\1/' | sed 's/ //'); \
	V3=$$(fgrep -A1 CFBundleVersion Info.plist | tail -1 | \
	      sed 's/.*>\(.*\)<.*/\1/'); \
	V4=$$(fgrep -A1 CFBundleShortVersion Info.plist | tail -1 | \
	      sed 's/.*>\(.*\)<.*/\1/'); \
	if test x"$$V2" != x"$$V" \
	    -o x"$$V3" != x"$$V" \
	    -o x"$$V4" != x"$$V4"; then \
		echo "Not all files have the same version number!"; \
		exit 1; \
	fi; \
	echo "Generating tarball for version $$V..."; \
	rm -f objfw-$$V.tar.gz; \
	rm -fr objfw-$$V; \
	hg archive objfw-$$V; \
	cp configure config.h.in objfw-$$V; \