install -m 4754 -o root -g $(E2_GROUP) e2-su $(DESTDIR)$(BINDIR)/
install -m 755 e2 $(DESTDIR)$(BINDIR)/
install -m 644 e2global.lc $(DESTDIR)$(LIBDIR)/
- install -d $(SYSCONFDIR)
- if [ ! -f "$(SYSCONFDIR)/e2.conf" ] ; then \
- install -m 644 e2.conf $(SYSCONFDIR)/e2.conf ; \
+ install -d $(DESTDIR)$(SYSCONFDIR)
+ if [ ! -f "$(DESTDIR)$(SYSCONFDIR)/e2.conf" ] ; then \
+ install -m 644 e2.conf $(DESTDIR)$(SYSCONFDIR)/e2.conf ; \
fi
- install -m 644 e2.conf $(SYSCONFDIR)/e2.conf.sample
- install -d -m 2775 -g $(E2_GROUP) $(LOCALSTATEDIR)
+ install -m 644 e2.conf $(DESTDIR)$(SYSCONFDIR)/e2.conf.sample
+ install -d -m 2775 -g $(E2_GROUP) $(DESTDIR)$(LOCALSTATEDIR)
uninstall:
for i in $(GLOBALLUATOOLS) ; do \
clean:
install: all
- install -m 755 -d /etc/e2/templates/proj
- install -m 644 proj/config /etc/e2/templates/proj/config
- install -m 644 proj/chroot /etc/e2/templates/proj/chroot
- install -m 644 proj/licences /etc/e2/templates/proj/licences
- install -m 644 proj/env /etc/e2/templates/proj/env
- install -m 644 gitignore /etc/e2/templates/gitignore
+ install -m 755 -d $(DESTDIR)/etc/e2/templates/proj
+ install -m 644 proj/config $(DESTDIR)/etc/e2/templates/proj/config
+ install -m 644 proj/chroot $(DESTDIR)/etc/e2/templates/proj/chroot
+ install -m 644 proj/licences $(DESTDIR)/etc/e2/templates/proj/licences
+ install -m 644 proj/env $(DESTDIR)/etc/e2/templates/proj/env
+ install -m 644 gitignore $(DESTDIR)/etc/e2/templates/gitignore
install-local: all
install -m 755 -d $(LOCALLIBDIR)/templates