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 ..
|