Skip to content

Commit 8caa6c7

Browse files
committed
Makefile: formatting cleanup
1 parent 120d233 commit 8caa6c7

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

Makefile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,29 @@ V=20120618
22

33
PREFIX = /usr/local
44

5-
BINPROGS = arch-chroot genfstab pacstrap
5+
BINPROGS = \
6+
arch-chroot \
7+
genfstab \
8+
pacstrap
69

710
all: $(BINPROGS)
811

912
%: %.in Makefile common
10-
@echo "GEN $@"
13+
@printf ' GEN\t%s\n' "$@"
1114
@$(RM) "$@"
1215
@m4 -P $@.in >$@
1316
@chmod a-w "$@"
1417
@chmod +x "$@"
1518

1619
clean:
17-
rm -f $(BINPROGS)
20+
$(RM) $(BINPROGS)
1821

1922
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
2225

2326
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
2528

2629
dist:
2730
git archive --format=tar --prefix=arch-install-scripts-$(V)/ $(V) | gzip -9 > arch-install-scripts-$(V).tar.gz

0 commit comments

Comments
 (0)