File: step304.slog

package info (click to toggle)
debmake-doc 1.17-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 24,612 kB
  • sloc: makefile: 768; sh: 690; ansic: 114; python: 99; sed: 16
file content (29 lines) | stat: -rw-r--r-- 597 bytes parent folder | download
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
 $ cd debhello-0.3
 $ ls -l debian/patches/
total 4
-rw-rw-r-- 1 osamu osamu 65 Jul  2 16:27 series
 $ cat debian/patches/series
# You must remove unused comment lines for the released package.
vi Makefile
 ... hack, hack, hack, ...
 $ cat Makefile
all: src/hello

src/hello: src/hello.c
        $(CC) $(CPPFLAGS) $(CFLAGS) $(LDCFLAGS) -o $@ $^

install: src/hello
        install -D src/hello \
                $(DESTDIR)/usr/bin/hello

clean:
        -rm -f src/hello

distclean: clean

uninstall:
        -rm -f $(DESTDIR)/usr/bin/hello

.PHONY: all install clean distclean uninstall
 $ cd ..