File: rules

package info (click to toggle)
rust-alacritty 0.16.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,636 kB
  • sloc: sh: 528; xml: 38; makefile: 15
file content (20 lines) | stat: -rwxr-xr-x 504 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
%:
	dh $@ --buildsystem cargo

MANPAGES_SRC = $(wildcard extra/man/*.scd)
MANPAGES = $(patsubst %.scd,%,$(MANPAGES_SRC))

execute_before_dh_auto_clean:
	rm -f $(MANPAGES)

$(MANPAGES): %: %.scd
	scdoc < $< > $@

execute_before_dh_installman:
	$(MAKE) -f debian/rules $(MANPAGES)

override_dh_install:
	# Rename the logo so it aligns with the desktop file
	cp extra/logo/alacritty-term.svg extra/logo/Alacritty.svg
	FISH_COMPDIR=$$(pkg-config --variable completionsdir fish) dh_install