File: Makefile

package info (click to toggle)
gdmd 2.100%2Bgit240529-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 92 kB
  • sloc: perl: 655; makefile: 24
file content (53 lines) | stat: -rw-r--r-- 1,431 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# -*- mode: makefile -*-

# gdmd -- dmd-like wrapper for gdc.
# Copyright (C) 2011, 2012 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3.  If not see
# <http://www.gnu.org/licenses/>.


DESTDIR = 
target_prefix = 
program_suffix =
prefix = /usr/local
bindir = $(prefix)/bin
man1dir = $(prefix)/share/man/man1

src = dmd-script
man = dmd-script.1

all:


install: $(DESTDIR)$(bindir)/$(target_prefix)gdmd$(program_suffix) \
         $(DESTDIR)$(man1dir)/$(target_prefix)gdmd$(program_suffix).1


$(DESTDIR)$(bindir)/$(target_prefix)gdmd$(program_suffix): $(src)
	-rm -f $@
	-install $< $@


$(DESTDIR)$(man1dir)/$(target_prefix)gdmd$(program_suffix).1: $(man)
	-rm -f $@
	-install -m 644 $< $@


uninstall:
	-rm -f $(DESTDIR)$(bindir)/$(target_prefix)gdmd$(program_suffix)
	-rm -f $(DESTDIR)$(man1dir)/$(target_prefix)gdmd$(program_suffix).1