.PHONY: all
all: junk
.PHONY:
junk:
@-/bin/true
@echo "Done!"
.PHONY: clean
clean:
@-rm -f $(PRJ)-*.rpm $(PRJ)-*-*-*.tgz $(PRJ)-*.tar.gz
install: all
@mkdir -p $(I_USR_SHARE)/$(PRJ)
cp -vdr admin inc hooks root scripts $(I_USR_SHARE)/$(PRJ)
@mkdir -p $(I_ETC)/xinetd.d
cp -vd --no-clobber samples/rg $(I_ETC)/xinetd.d/rocketgit
@mkdir -p $(I_ETC)/cron.d
cp -vd --no-clobber samples/cron $(I_ETC)/cron.d/rocketgit
@mkdir -p $(I_ETC)/httpd/conf.d
cp -vd --no-clobber samples/rg.conf $(I_ETC)/httpd/conf.d/rocketgit.conf
@mkdir -p $(I_ETC)/rocketgit
cp -vd --no-clobber samples/config.php $(I_ETC)/rocketgit/
cp -vd samples/config.php $(I_ETC)/rocketgit/config.php.sample
@mkdir -p $(I_ETC)/logrotate.d
cp -vd --no-clobber samples/logrotate $(I_ETC)/logrotate.d/rocketgit
@mkdir -p $(I_VAR_LOG)/$(PRJ)
@-chown rocketgit:rocketgit $(I_VAR_LOG)/$(PRJ)
@chmod 0700 $(I_VAR_LOG)/$(PRJ)
@mkdir -p $(I_VAR_LOG)/$(PRJ)-web
@-chown apache:apache $(I_VAR_LOG)/$(PRJ)-web
@chmod 0700 $(I_VAR_LOG)/$(PRJ)-web
@mkdir -p $(I_VAR_RUN)/$(PRJ)
@-chown rocketgit:rocketgit $(I_VAR_RUN)/$(PRJ)
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/rocketgit
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/rocketgit
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master