Makefile: make tools build and install optional
This commit is contained in:
parent
ac5a44bfda
commit
943521f9d9
5
Makefile
5
Makefile
@ -37,7 +37,7 @@ pck_catalogs := $(wildcard po/*.po)
|
|||||||
.SUFFIXES: .po .mo
|
.SUFFIXES: .po .mo
|
||||||
.po.mo:; msgfmt $< -o $@
|
.po.mo:; msgfmt $< -o $@
|
||||||
|
|
||||||
all: tools
|
all:
|
||||||
|
|
||||||
tools:
|
tools:
|
||||||
make -C src
|
make -C src
|
||||||
@ -50,7 +50,6 @@ install-dirs:
|
|||||||
$(INSTALL_DIR) $(DESTDIR)$(localstatedir)/run
|
$(INSTALL_DIR) $(DESTDIR)$(localstatedir)/run
|
||||||
$(INSTALL_DIR) $(DESTDIR)$(localstatedir)/log
|
$(INSTALL_DIR) $(DESTDIR)$(localstatedir)/log
|
||||||
$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/modules.d/
|
$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/modules.d/
|
||||||
$(INSTALL_DIR) $(DESTDIR)/var/spool/gdm
|
|
||||||
|
|
||||||
install-files:
|
install-files:
|
||||||
touch $(DESTDIR)$(localstatedir)/log/{btmp,lastlog,wtmp}
|
touch $(DESTDIR)$(localstatedir)/log/{btmp,lastlog,wtmp}
|
||||||
@ -62,7 +61,7 @@ install-files:
|
|||||||
done
|
done
|
||||||
ln -sf rc.d/init.d/ $(DESTDIR)$(sysconfdir)/init.d
|
ln -sf rc.d/init.d/ $(DESTDIR)$(sysconfdir)/init.d
|
||||||
|
|
||||||
install: install-dirs install-tools install-files
|
install: install-dirs install-files
|
||||||
|
|
||||||
dist: clean
|
dist: clean
|
||||||
@git log > ChangeLog.git
|
@git log > ChangeLog.git
|
||||||
|
Loading…
Reference in New Issue
Block a user