瀏覽代碼

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

Put it close to the other alternatives file and directory handling.
Guillem Jover 16 年之前
父節點
當前提交
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