]> git.sesse.net Git - betaftpd/blobdiff - Makefile.in
Fixed a problem where the server might segfault if there was an error occuring while...
[betaftpd] / Makefile.in
index f16659007440040a83d9a50849b31d3284683a11..336d254b7eb7894c05fa212a334ce069c4411c67 100644 (file)
@@ -17,9 +17,9 @@ CPPS        = ${OBJS:.o=.i}
 
 # 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
@@ -71,7 +71,7 @@ package:
        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