debian-mirror-gitlab/debian/rules
Pirate Praveen 13d55acb2f Merge tag 'debian/13.7.8+ds1-1' into buster-fasttrack
gitlab Debian release 13.7.8+ds1-1
2021-03-05 22:25:56 +05:30

29 lines
1.1 KiB
Makefile
Executable file

#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
%:
dh $@
override_dh_install:
dh_install -XLICENSE
dh_installexamples
# Make sure we are installing all required files in debian/install
sh debian/upstream-file-count-check.sh
sh debian/upstream-config-file-check.sh
rm -rf debian/gitlab/usr/share/gitlab/tmp/*
find debian/gitlab/usr/share/gitlab/ -name .eslintrc.yml -delete
mv debian/gitlab/usr/share/gitlab/app/assets/javascripts/locale \
debian/gitlab/usr/share/gitlab/app/assets/javascripts/locale.static
mv debian/gitlab/var/lib/gitlab/db/structure.sql debian/gitlab/var/lib/gitlab/db/structure.sql.template
sed -i 's/__NEW_VERSION__/${DEB_VERSION}/g' debian/gitlab/usr/lib/gitlab/templates/gitlab-debian.conf.example
override_dh_installinit:
dh_installinit --no-start -p gitlab --name=gitlab-sidekiq
dh_installinit --no-start -p gitlab --name=gitlab-puma
dh_installinit --no-start -p gitlab --name=gitlab-mailroom
dh_installinit --no-start -p gitlab --name=gitlab-workhorse
dh_installinit
override_dh_systemd_start:
dh_systemd_start --no-start