Browse Source

Replaced a handful of `mkdir -p` by $(MKDIR_P)

Quentin Bonaventure 7 years ago
parent
commit
0fc3503a12
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      Makefile.am
  2. 1
    1
      lodel/Makefile.am

+ 1
- 1
Makefile.am View File

@@ -33,7 +33,7 @@ runtest: ./runtest.sh
33 33
 
34 34
 #Adding logdir creation on install
35 35
 install-data-hook:
36
-	mkdir -p ${DESTDIR}$(lodel2_localstatedir); mkdir -p ${DESTDIR}$(docdir); cp README ${DESTDIR}$(docdir);
36
+	$(MKDIR_P) ${DESTDIR}$(lodel2_localstatedir); $(MKDIR_P) ${DESTDIR}$(docdir); cp README ${DESTDIR}$(docdir);
37 37
 
38 38
 #Making debian package
39 39
 deb: dist

+ 1
- 1
lodel/Makefile.am View File

@@ -22,7 +22,7 @@ do_subst = sed 	-e 's,\[@\]LODEL2_VARDIR\[@\],$(localstatedir)/lodel2/,g' \
22 22
 
23 23
 
24 24
 install-data-hook:
25
-	-mkdir -p ${DESTDIR}$(logdir)
25
+	$(MKDIR_P) ${DESTDIR}$(logdir)
26 26
 
27 27
 uninstall-hook:
28 28
 	-rmdir ${DESTDIR}$(logdir)

Loading…
Cancel
Save