Skip to content

Commit 8f78446

Browse files
remove unused variable DESTDIR from uncrustify makefile (#54)
1 parent 0dcc482 commit 8f78446

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

uncrustify/Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ clean:
1818
rm -f *.1
1919

2020
installdirs:
21-
$(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(pkgsysconfdir) $(DESTDIR)$(mandir)/man1
21+
$(INSTALL) -d $(bindir) $(pkgsysconfdir) $(mandir)/man1
2222

2323
install: all installdirs
24-
$(INSTALL_SCRIPT) citus_indent $(DESTDIR)$(bindir)
25-
$(INSTALL_DATA) $(MANPAGES) $(DESTDIR)$(mandir)/man1
26-
$(INSTALL_DATA) citus-style.cfg $(DESTDIR)$(pkgsysconfdir)
24+
$(INSTALL_SCRIPT) citus_indent $(bindir)
25+
$(INSTALL_DATA) $(MANPAGES) $(mandir)/man1
26+
$(INSTALL_DATA) citus-style.cfg $(pkgsysconfdir)
2727
perl -pi -e 's,/usr/local/etc/citustools,$(pkgsysconfdir),g' \
28-
$(DESTDIR)$(bindir)/citus_indent \
29-
$(DESTDIR)$(mandir)/man1/citus_indent.1
28+
$(bindir)/citus_indent \
29+
$(mandir)/man1/citus_indent.1
3030

3131
.PHONY: all man clean installdirs install

0 commit comments

Comments
 (0)