File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -2,26 +2,29 @@ V=20120618
2
2
3
3
PREFIX = /usr/local
4
4
5
- BINPROGS = arch-chroot genfstab pacstrap
5
+ BINPROGS = \
6
+ arch-chroot \
7
+ genfstab \
8
+ pacstrap
6
9
7
10
all : $(BINPROGS )
8
11
9
12
% : % .in Makefile common
10
- @echo " GEN $@ "
13
+ @printf ' GEN\t%s\n ' " $@ "
11
14
@$(RM ) " $@ "
12
15
@m4 -P $@ .in > $@
13
16
@chmod a-w " $@ "
14
17
@chmod +x " $@ "
15
18
16
19
clean :
17
- rm -f $(BINPROGS )
20
+ $( RM ) $(BINPROGS )
18
21
19
22
install :
20
- install -dm0755 $(DESTDIR )$(PREFIX ) /bin
21
- install -m0755 ${BINPROGS} $(DESTDIR )$(PREFIX ) /bin
23
+ install -dm755 $(DESTDIR )$(PREFIX ) /bin
24
+ install -m755 ${BINPROGS} $(DESTDIR )$(PREFIX ) /bin
22
25
23
26
uninstall :
24
- for f in ${BINPROGS} ; do rm -f $( DESTDIR) $( PREFIX) /bin/$$ f; done
27
+ for f in ${BINPROGS} ; do $( RM ) $( DESTDIR) $( PREFIX) /bin/$$ f; done
25
28
26
29
dist :
27
30
git archive --format=tar --prefix=arch-install-scripts-$(V ) / $(V ) | gzip -9 > arch-install-scripts-$(V ) .tar.gz
You can’t perform that action at this time.
0 commit comments