File: rules

package info (click to toggle)
aview 1.3.0rc1-9
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 340 kB
  • sloc: ansic: 1,630; sh: 397; makefile: 13
file content (21 lines) | stat: -rwxr-xr-x 660 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

# Install additional manpages.
DEB_INSTALL_MANPAGES_aview := debian/aaflip.1

# Create symlinks.
DEB_DH_LINK_ARGS := usr/share/man/man1/aview.1 usr/share/man/man1/asciiview.1

# From old debian/rules file. Still needed here?
# # Don't use -rpath...
# cat Makefile | sed 's/-Wl,-rpath,\/usr\/lib//g' > Makefile.new; sleep 1
# mv Makefile.new Makefile

# Remove asciiview.1, so we can create the symlink above.
binary-pre-install/aview::
	rm -f $(CURDIR)/debian/aview/usr/share/man/man1/asciiview.1

include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk