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
 
33
 
34
 #Adding logdir creation on install
34
 #Adding logdir creation on install
35
 install-data-hook:
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
 #Making debian package
38
 #Making debian package
39
 deb: dist
39
 deb: dist

+ 1
- 1
lodel/Makefile.am View File

22
 
22
 
23
 
23
 
24
 install-data-hook:
24
 install-data-hook:
25
-	-mkdir -p ${DESTDIR}$(logdir)
25
+	$(MKDIR_P) ${DESTDIR}$(logdir)
26
 
26
 
27
 uninstall-hook:
27
 uninstall-hook:
28
 	-rmdir ${DESTDIR}$(logdir)
28
 	-rmdir ${DESTDIR}$(logdir)

Loading…
Cancel
Save