Skip to content

Commit

Permalink
Update Stub Files
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang authored and github-actions[bot] committed Sep 7, 2023
1 parent 92baf40 commit 8c57dc7
Show file tree
Hide file tree
Showing 8 changed files with 15,408 additions and 0 deletions.
674 changes: 674 additions & 0 deletions ccache-4.8-linux-x86_64/GPL-3.0.txt

Large diffs are not rendered by default.

801 changes: 801 additions & 0 deletions ccache-4.8-linux-x86_64/LICENSE.adoc

Large diffs are not rendered by default.

947 changes: 947 additions & 0 deletions ccache-4.8-linux-x86_64/LICENSE.html

Large diffs are not rendered by default.

3,259 changes: 3,259 additions & 0 deletions ccache-4.8-linux-x86_64/MANUAL.html

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions ccache-4.8-linux-x86_64/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
prefix = /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
datarootdir = $(prefix)/share
docdir = $(datarootdir)/doc/ccache
mandir = $(datarootdir)/man
man1dir = $(mandir)/man1
sysconfdir = $(prefix)/etc

default_sysconfdir = /usr/local/etc
doc_files = LICENSE.html MANUAL.html NEWS.html GPL-3.0.txt LICENSE.adoc README.md

PYTHON = python3

all:
@echo "Available make targets:"
@echo
@echo " install [prefix=...] [DESTDIR=...]"
@echo
@echo "Default prefix: $(prefix)"

install:
mkdir -p "$(DESTDIR)$(bindir)"
$(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"
chmod +x "$(DESTDIR)$(bindir)/ccache"

mkdir -p "$(DESTDIR)$(docdir)"
cp $(doc_files) "$(DESTDIR)$(docdir)"

mkdir -p "$(DESTDIR)$(man1dir)"
cp ccache.1 "$(DESTDIR)$(man1dir)"
Loading

0 comments on commit 8c57dc7

Please sign in to comment.