2014-09-02 17:59:05 +05:30
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
2019-01-05 16:20:14 +05:30
|
|
|
include /usr/share/dpkg/pkg-info.mk
|
|
|
|
|
2014-09-02 17:59:05 +05:30
|
|
|
%:
|
2016-07-17 23:39:23 +05:30
|
|
|
dh $@ --with=systemd
|
2016-02-04 16:22:17 +05:30
|
|
|
|
|
|
|
override_dh_install:
|
2016-07-17 23:33:09 +05:30
|
|
|
dh_install -XLICENSE
|
2016-02-13 19:11:17 +05:30
|
|
|
# Make sure we are installing all required files in debian/install
|
2016-02-13 19:38:52 +05:30
|
|
|
sh debian/upstream-file-count-check.sh
|
2016-02-18 17:04:24 +05:30
|
|
|
rm -rf debian/gitlab/usr/share/gitlab/tmp/*
|
2018-10-13 20:39:34 +05:30
|
|
|
rm -rf debian/gitlab/usr/share/gitlab/spec/javascripts/.eslintrc
|
2018-12-24 00:13:16 +05:30
|
|
|
rm -rf debian/gitlab/usr/share/gitlab/spec/frontend/.eslintrc.yml
|
2018-02-23 00:00:41 +05:30
|
|
|
mv debian/gitlab/usr/share/gitlab/app/assets/javascripts/locale \
|
|
|
|
debian/gitlab/usr/share/gitlab/app/assets/javascripts/locale.static
|
2016-10-01 15:08:03 +05:30
|
|
|
mv debian/gitlab/var/lib/gitlab/db/schema.rb debian/gitlab/var/lib/gitlab/db/schema.rb.template
|
2019-01-05 16:20:14 +05:30
|
|
|
sed -i 's/__NEW_VERSION__/${DEB_VERSION}/g' debian/gitlab/usr/lib/gitlab/templates/gitlab-debian.conf.example
|
2016-02-04 16:22:17 +05:30
|
|
|
|
|
|
|
override_dh_installinit:
|
2016-07-17 23:39:23 +05:30
|
|
|
dh_installinit --no-start -p gitlab --name=gitlab-sidekiq
|
|
|
|
dh_installinit --no-start -p gitlab --name=gitlab-unicorn
|
|
|
|
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
|