Просмотр исходного кода

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

Put it close to the other alternatives file and directory handling.
Guillem Jover лет назад: 16
Родитель
Сommit
7467cc776b
2 измененных файлов с 1 добавлено и 1 удалено
  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:
 	$(mkdir_p) $(DESTDIR)$(sysconfdir)/alternatives
+	$(mkdir_p) $(DESTDIR)$(admindir)/alternatives
 	$(INSTALL_DATA) $(srcdir)/README.alternatives $(DESTDIR)$(sysconfdir)/alternatives/README
 
 # 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:
 	$(mkdir_p) $(DESTDIR)$(pkgconfdir)/dpkg.cfg.d
-	$(mkdir_p) $(DESTDIR)$(admindir)/alternatives
 	$(mkdir_p) $(DESTDIR)$(admindir)/info
 	$(mkdir_p) $(DESTDIR)$(admindir)/updates