Explorar o código

build: Move <admindir>/alternatives directory creation to scripts/

Put it close to the other alternatives file and directory handling.
Guillem Jover %!s(int64=16) %!d(string=hai) anos
pai
achega
7467cc776b
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. 1 0
      scripts/Makefile.am
  2. 0 1
      src/Makefile.am

+ 1 - 0
scripts/Makefile.am

@@ -118,6 +118,7 @@ do_perl_subst = $(AM_V_GEN) \
 
 
 install-data-local:
 install-data-local:
 	$(mkdir_p) $(DESTDIR)$(sysconfdir)/alternatives
 	$(mkdir_p) $(DESTDIR)$(sysconfdir)/alternatives
+	$(mkdir_p) $(DESTDIR)$(admindir)/alternatives
 	$(INSTALL_DATA) $(srcdir)/README.alternatives $(DESTDIR)$(sysconfdir)/alternatives/README
 	$(INSTALL_DATA) $(srcdir)/README.alternatives $(DESTDIR)$(sysconfdir)/alternatives/README
 
 
 # Ideally we'd use 'sed -i', but unfortunately that's not portable.
 # Ideally we'd use 'sed -i', but unfortunately that's not portable.

+ 0 - 1
src/Makefile.am

@@ -74,6 +74,5 @@ dpkg_trigger_LDADD = \
 
 
 install-data-local:
 install-data-local:
 	$(mkdir_p) $(DESTDIR)$(pkgconfdir)/dpkg.cfg.d
 	$(mkdir_p) $(DESTDIR)$(pkgconfdir)/dpkg.cfg.d
-	$(mkdir_p) $(DESTDIR)$(admindir)/alternatives
 	$(mkdir_p) $(DESTDIR)$(admindir)/info
 	$(mkdir_p) $(DESTDIR)$(admindir)/info
 	$(mkdir_p) $(DESTDIR)$(admindir)/updates
 	$(mkdir_p) $(DESTDIR)$(admindir)/updates