# Since we use VPATH, override .c.o rule
.c.o: $*.c config.h
- $(CC) $(REAL_CFLAGS) -c @srcdir@/$*.c
+ $(CC) $(REAL_CFLAGS) $(CPPFLAGS) -c @srcdir@/$*.c
.c.s: $*.c config.h
- $(CC) $(REAL_CFLAGS) -S @srcdir@/$*.c
+ $(CC) $(REAL_CFLAGS) $(CPPFLAGS) -S @srcdir@/$*.c
# deps
cmds.o: @srcdir@/cmds.c @srcdir@/ftpd.h @srcdir@/cmds.h @srcdir@/nonroot.h @srcdir@/dcache.h config.h
cp doc/KNOWN-BUGS doc/RFC-COMPLIANCE doc/README.nonroot betaftpd-$(VERSION)/doc
cp doc/README.rights doc/README.platforms betaftpd-$(VERSION)/doc
cp debian/README.debian debian/betaftpd.7 debian/changelog betaftpd-$(VERSION)/debian
- cp debian/control debian/copyright debian/dirs debian/files betaftpd-$(VERSION)/debian
- cp debian/init.d debian/rules debian/substvars debian/watch.ex betaftpd-$(VERSION)/debian
+ cp debian/control debian/copyright debian/dirs betaftpd-$(VERSION)/debian
+ cp debian/init.d debian/rules debian/watch.ex betaftpd-$(VERSION)/debian
tar cf - betaftpd-$(VERSION)/ | gzip -9vv > betaftpd-$(VERSION).tar.gz
- tar cf - betaftpd-$(VERSION)/ | bzip2 -3vv > betaftpd-$(VERSION).tar.bz2
+ tar cf - betaftpd-$(VERSION)/ | bzip2 -4vv > betaftpd-$(VERSION).tar.bz2