nice version.h
This commit is contained in:
parent
4bfc2ac6a6
commit
376fc7f58d
2
Makefile
2
Makefile
@ -105,7 +105,7 @@ $(FRONTEND_OBJS): $(L)-%.o: %.c
|
|||||||
$(COMPILE) $(INCLUDES) -c $< -o $@
|
$(COMPILE) $(INCLUDES) -c $< -o $@
|
||||||
|
|
||||||
version.h:
|
version.h:
|
||||||
echo -e \#define VERSION \"\" \\n\#define DISTRIB_NAME \"ALT Linux $(shell date +%Y%m%d)\" > $@
|
echo -e \#define VERSION \"$(version)\" \\n\#define DISTRIB_NAME \"ALT Linux\" > $@
|
||||||
|
|
||||||
gencpio: gen_init_cpio.c
|
gencpio: gen_init_cpio.c
|
||||||
$(CC) $(CFLAGS) $(DEFS) -o $@ $^
|
$(CC) $(CFLAGS) $(DEFS) -o $@ $^
|
||||||
|
@ -28,7 +28,7 @@ including init and various helpers for hw probing and bootstrapping.
|
|||||||
%setup
|
%setup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_with_shell:WITH_SHELL=t} %{?_with_splash:WITH_SPLASH=t} libdir=%_libdir
|
make %{?_with_shell:WITH_SHELL=t} %{?_with_splash:WITH_SPLASH=t} libdir=%_libdir version=%version-%release
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install DESTDIR=%buildroot libdir=%_libdir install
|
%make_install DESTDIR=%buildroot libdir=%_libdir install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user