hdt: Fixing make release target
authorErwan Velu <erwan.velu@free.fr>
Fri, 4 Dec 2009 16:40:06 +0000 (17:40 +0100)
committerErwan Velu <erwan.velu@free.fr>
Fri, 4 Dec 2009 16:40:06 +0000 (17:40 +0100)
Impact: fixing com32 naming

Make release now generates the .c32 file accordingly to the scheme

com32/hdt/Makefile

index 2974652..5c02c43 100644 (file)
@@ -28,7 +28,7 @@ TESTFILES =
 OBJS     = $(patsubst %.c,%.o,$(wildcard *.c))
 VERSION   = $(shell $(SED) -n 's/\#define VERSION \"\(.*\)\"/\1/p' hdt.h)
 CODENAME  = $(shell $(SED) -n 's/\#define CODENAME \"\(.*\)\"/\1/p' hdt.h)
-VERSION_C32 = $(shell echo $(VERSION) | $(SED) -e 's/-/_/g')
+VERSION_C32 = $(shell echo $(VERSION) | $(SED) -e 's/-/_/g' | $(SED) -e 's/\./_/g')
 
 MEMTEST_URL = http://memtest.org/download/4.00/memtest86+-4.00.bin
 MEMTEST     = memtest.bin