File: Makefile

package info (click to toggle)
dwww 1.12.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 828 kB
  • sloc: perl: 3,173; ansic: 1,805; sh: 170; makefile: 123
file content (25 lines) | stat: -rw-r--r-- 663 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
21
22
23
24
25
# vim:ts=2
# Makefile for dwww.
#
ALL_TARGET  :=
SUBDIRS     := 
include ../../common.mk

files  := dwww.src dwww.png
ifeq (Ubuntu,$(DISTRIBUTOR))
  browsers	:= firefox seamonkey
else
  browsers	= iceweasel iceape
endif

install-local: install-local-files install-local-links

install-local-files:
	$(call install,$(pkgsharedir)/mozilla,$(files))

install-local-links: override ATT := $(AT)
install-local-links: override AT  :=
install-local-links:
	$(ATT) $(foreach browser,$(browsers),$(foreach file,$(files),$(call install_links,../../$(PACKAGE)/mozilla/$(file),$(sharedir)/$(browser)/searchplugins/$(file))))

.PHONY: install-local-files  install-local-links