Makefile fixes
This commit is contained in:
parent
419c2af2bb
commit
48dc984059
22
Makefile
22
Makefile
@ -9,20 +9,6 @@ dist_archive = $(distdir).tar.bz2
|
||||
|
||||
include VERSION
|
||||
|
||||
# System locations
|
||||
prefix = /usr
|
||||
exec_prefix = ${prefix}
|
||||
sysconfdir = /etc
|
||||
sbindir = /sbin
|
||||
bindir = ${exec_prefix}/bin
|
||||
mandir = ${prefix}/usr/share/man
|
||||
datadir = ${prefix}/share
|
||||
iconsdir = ${datadir}/icons/hicolor
|
||||
initrddir = ${sysconfdir}/rc.d/init.d
|
||||
sysconfigdir= ${sysconfdir}/sysconfig
|
||||
localesdir = ${datadir}/locale
|
||||
srcdir = .
|
||||
|
||||
DESTDIR =
|
||||
INSTALL = /usr/bin/install
|
||||
INSTALL_PROGRAM = ${INSTALL} -m 755
|
||||
@ -36,9 +22,9 @@ install-dirs:
|
||||
@$(INSTALL_DIR) $(DESTDIR)/root
|
||||
|
||||
install-data:
|
||||
@$(INSTALL_DATA) .bash_logout $(DESTDIR)$(sysconfdir)/root/.bash_logout
|
||||
@$(INSTALL_DATA) .bash_profile $(DESTDIR)$(sysconfdir)/root/.bash_profile
|
||||
@$(INSTALL_DATA) .bashrc $(DESTDIR)$(sysconfdir)/root/.bashrc
|
||||
@$(INSTALL_DATA) .bash_logout $(DESTDIR)/root/.bash_logout
|
||||
@$(INSTALL_DATA) .bash_profile $(DESTDIR)/root/.bash_profile
|
||||
@$(INSTALL_DATA) .bashrc $(DESTDIR)/root/.bashrc
|
||||
|
||||
install: install-dirs install-data
|
||||
|
||||
@ -47,7 +33,7 @@ clean:
|
||||
|
||||
dist: clean
|
||||
@mkdir /tmp/$(distdir)
|
||||
@cp -a .bash* /tmp/$(distdir)/
|
||||
@cp -a * .bash* /tmp/$(distdir)/
|
||||
@rm -f $(dist_archive);\
|
||||
tar cf - -C /tmp $(distdir) | bzip2 -9 -c > $(dist_archive)
|
||||
@rm -rf /tmp/$(distdir)
|
||||
|
Loading…
Reference in New Issue
Block a user