Hi All,
I have a perl script "version.pl" whose output i want to use in makefile. I
tried to use shell function. but nothing is done..

"Makefile" and perl script "version.pl" are in same directory..
what i am trying to do is.....


RELEASE_TAG_VALUE=$(shell perl ./version.pl -v)
BUILD_DATE_VALUE=$(shell date -u +"%A-%b-%d-%Y-%H:%M:%S")

and then i am using above variables in following line.

$(CPP) -DRELEASE_TAG=\"$(RELEASE_TAG_VALUE)\"
-DBUILD_DATE=\"$(BUILD_DATE_VALUE)\"  -P $(DB_XSD_CPP_DEFINES) $<   [EMAIL 
PROTECTED]

for your information...
--> variable BUILD_DATE_VALUE got assigned by right value and is working
fine

your help will be greatly appreciated.

Thanks and Regards
Ashish Raikwar
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to