代码拉取完成,页面将自动刷新
#!/usr/bin/make -f
export DESTDIR = $(CURDIR)/debian/tmp
export FUSE_CONFDIR=$(DESTDIR)/etc/fastcfs/fcfs/
export AUTH_CONFDIR=$(DESTDIR)/etc/fastcfs/auth/
export VOTE_CONFDIR=$(DESTDIR)/etc/fastcfs/vote/
%:
dh $@
override_dh_auto_build:
ifneq ($(filter pkg.fastcfs.core,$(DEB_BUILD_PROFILES)),)
./make.sh --exclude=client clean && ./make.sh --exclude=client
endif
ifneq ($(filter pkg.auth.client,$(DEB_BUILD_PROFILES)),)
./make.sh --module=auth_client clean && ./make.sh --module=auth_client
endif
ifneq ($(filter pkg.vote.client,$(DEB_BUILD_PROFILES)),)
./make.sh --module=vote_client clean && ./make.sh --module=vote_client
endif
override_dh_auto_install:
ifneq ($(filter pkg.fastcfs.core,$(DEB_BUILD_PROFILES)),)
./make.sh --exclude=client install
mkdir -p $(FUSE_CONFDIR)
cp conf/*.conf $(FUSE_CONFDIR)
cp systemd/fastcfs.service debian/fastcfs-fused.fastcfs.service
cp systemd/fastauth.service debian/fastcfs-auth-server.fastauth.service
cp systemd/fastvote.service debian/fastcfs-vote-server.fastvote.service
endif
ifneq ($(filter pkg.auth.client,$(DEB_BUILD_PROFILES)),)
./make.sh --module=auth_client install
AUTH_CONFDIR=$(DESTDIR)/etc/fastcfs/auth/
mkdir -p $(AUTH_CONFDIR)
cp src/auth/conf/*.conf $(AUTH_CONFDIR)
cp -R src/auth/conf/keys $(AUTH_CONFDIR)
endif
ifneq ($(filter pkg.vote.client,$(DEB_BUILD_PROFILES)),)
./make.sh --module=vote_client install
VOTE_CONFDIR=%{buildroot}/etc/fastcfs/vote/
mkdir -p $(VOTE_CONFDIR)
cp src/vote/conf/*.conf $(VOTE_CONFDIR)
endif
dh_auto_install
override_dh_installsystemd:
dh_installsystemd --package=fastcfs-fused --name=fastcfs --no-start --no-restart-on-upgrade
dh_installsystemd --package=fastcfs-auth-server --name=fastauth --no-start --no-restart-on-upgrade
dh_installsystemd --package=fastcfs-vote-server --name=fastvote --no-start --no-restart-on-upgrade
.PHONY: override_dh_gencontrol
override_dh_gencontrol:
dh_gencontrol -- -Tdebian/substvars
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。