Tue, 28 Aug 2012 16:44:32 +0200
changed version output slightly
.cproject | file | annotate | diff | comparison | revisions | |
Makefile | file | annotate | diff | comparison | revisions | |
cline.c | file | annotate | diff | comparison | revisions |
--- a/.cproject Mon Feb 13 19:10:00 2012 +0100 +++ b/.cproject Tue Aug 28 16:44:32 2012 +0200 @@ -89,8 +89,13 @@ <storageModule moduleId="cdtBuildSystem" version="4.0.0"> <project id="cline.null.1826762082" name="cline"/> </storageModule> - <storageModule moduleId="refreshScope" versionNumber="1"> - <resource resourceType="PROJECT" workspacePath="/cline"/> + <storageModule moduleId="refreshScope" versionNumber="2"> + <configuration configurationName="Default"> + <resource resourceType="PROJECT" workspacePath="/cline"/> + </configuration> + <configuration configurationName="Debug"> + <resource resourceType="PROJECT" workspacePath="/cline"/> + </configuration> </storageModule> <storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"> <buildTargets> @@ -121,4 +126,6 @@ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/> </scannerConfigBuildInfo> </storageModule> + <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/> + <storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/> </cproject>
--- a/Makefile Mon Feb 13 19:10:00 2012 +0100 +++ b/Makefile Tue Aug 28 16:44:32 2012 +0200 @@ -37,6 +37,8 @@ CONF = gcc #endif +VERSION_PREFIX=1.0. + include ${CONF}.mk .PHONY: setup run-compile teardown @@ -54,7 +56,7 @@ mkdir -p ${BUILDDIR} rm -f ${BUILDDIR}cline.o mv cline.h cline.src - cat cline.src | sed "s/VERSION.*/VERSION=\"$(shell hg identify -n) ($(shell hg identify -i))\";/g" > cline.h + cat cline.src | sed "s/VERSION.*/VERSION=\"${VERSION_PREFIX}$(shell hg identify -n) ($(shell hg identify -i))\";/g" > cline.h teardown: rm -f cline.h