37 lines · 501 B · Makefile
RawDownload
RCFILES=\	newrepo PAGEFILES=\	list\	repos\	info\	files\	branches\	tar\	view\	viewraw\	log\	show\	patch\	feed\	usr LIBFILES=\	common.rc\	config.rc WEBFILES=\	shithub.png\	guide.html\	plots.html\ install:	mkdir -p /rc/bin/shithub	cp $PAGEFILES /rc/bin/shithub	mkdir -p /sys/lib/shithub	cp $LIBFILES /sys/lib/shithub	cp $RCFILES /rc/bin	cp $WEBFILES /usr/web	cp gitrules /sys/lib/tcp80/gitrules	mkdir -p /usr/web/cache && chmod 777 /usr/web/cache	mkdir -p /usr/web/static