Skip to content

Commit a9f8142

Browse files
WeiqunZhanggithub-actions[bot]
authored andcommitted
Update Stub Files
1 parent 6c40a3f commit a9f8142

File tree

10 files changed

+15408
-0
lines changed

10 files changed

+15408
-0
lines changed

ccache-4.8-linux-x86_64.tar.xz

972 KB
Binary file not shown.

ccache-4.8-linux-x86_64/GPL-3.0.txt

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

ccache-4.8-linux-x86_64/LICENSE.adoc

Lines changed: 801 additions & 0 deletions
Large diffs are not rendered by default.

ccache-4.8-linux-x86_64/LICENSE.html

Lines changed: 947 additions & 0 deletions
Large diffs are not rendered by default.

ccache-4.8-linux-x86_64/MANUAL.html

Lines changed: 3259 additions & 0 deletions
Large diffs are not rendered by default.

ccache-4.8-linux-x86_64/Makefile

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
prefix = /usr/local
2+
exec_prefix = $(prefix)
3+
bindir = $(exec_prefix)/bin
4+
datarootdir = $(prefix)/share
5+
docdir = $(datarootdir)/doc/ccache
6+
mandir = $(datarootdir)/man
7+
man1dir = $(mandir)/man1
8+
sysconfdir = $(prefix)/etc
9+
10+
default_sysconfdir = /usr/local/etc
11+
doc_files = LICENSE.html MANUAL.html NEWS.html GPL-3.0.txt LICENSE.adoc README.md
12+
13+
PYTHON = python3
14+
15+
all:
16+
@echo "Available make targets:"
17+
@echo
18+
@echo " install [prefix=...] [DESTDIR=...]"
19+
@echo
20+
@echo "Default prefix: $(prefix)"
21+
22+
install:
23+
mkdir -p "$(DESTDIR)$(bindir)"
24+
$(PYTHON) -c 'import sys; sysconfdir = b"$(sysconfdir)"; default_sysconfdir = b"$(default_sysconfdir)"; sys.stdout.buffer.write(sys.stdin.buffer.read().replace(default_sysconfdir + b"\x00" * (4096 - len(default_sysconfdir)), sysconfdir + b"\x00" * (4096 - len(sysconfdir))))' <ccache >"$(DESTDIR)$(bindir)/ccache"
25+
chmod +x "$(DESTDIR)$(bindir)/ccache"
26+
27+
mkdir -p "$(DESTDIR)$(docdir)"
28+
cp $(doc_files) "$(DESTDIR)$(docdir)"
29+
30+
mkdir -p "$(DESTDIR)$(man1dir)"
31+
cp ccache.1 "$(DESTDIR)$(man1dir)"

0 commit comments

Comments
 (0)