mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-28 23:52:36 +01:00
30 lines
715 B
Makefile
Executable File
30 lines
715 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export DH_VERBOSE = 1
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_clean:
|
|
rm -rf artifacts
|
|
dotnet clean -c ReleaseNoWindows
|
|
|
|
override_dh_auto_build:
|
|
dotnet restore
|
|
cd src/Tgstation.Server.Host.Console && dotnet publish -c Release -o ../../artifacts
|
|
cd src/Tgstation.Server.Host && dotnet publish -c Release -o ../../artifacts/lib/Default
|
|
rm artifacts/lib/Default/appsettings.yml
|
|
build/RemoveUnsupportedRuntimes.sh artifacts/lib/Default
|
|
build/RemoveUnsupportedRuntimes.sh artifacts
|
|
|
|
override_dh_auto_install:
|
|
cp build/package/deb/MakeInstall ./Makefile
|
|
dh_auto_install --
|
|
|
|
override_dh_strip:
|
|
|
|
override_dh_shlibdeps:
|
|
|
|
override_dh_installsystemd:
|
|
dh_installsystemd -v --restart-after-upgrade
|