X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Farpa_inet;h=5193952323f4ff48d339d76a898400203f66af19;hb=4d76ef420206904f04648b18d4033272928f91b1;hp=3ff0340a0f57c72ff035c66d62bd59e72d08c0c2;hpb=cd212d1cc21b115448c42325e6ae208d0868d77b;p=gnulib.git diff --git a/modules/arpa_inet b/modules/arpa_inet index 3ff0340a0..519395232 100644 --- a/modules/arpa_inet +++ b/modules/arpa_inet @@ -9,6 +9,7 @@ sys_socket configure.ac: gl_HEADER_ARPA_INET +AC_PROG_MKDIR_P Makefile.am: BUILT_SOURCES += $(ARPA_INET_H) @@ -16,8 +17,11 @@ BUILT_SOURCES += $(ARPA_INET_H) # We need the following in order to create when the system # doesn't have one. arpa/inet.h: - test -d arpa || mkdir arpa - echo '#include ' >$@-t + @MKDIR_P@ arpa + rm -f $@-t $@ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + echo '#include '; \ + } > $@-t mv $@-t $@ MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t MOSTLYCLEANDIRS += arpa @@ -26,7 +30,7 @@ Include: #include License: -LGPL +LGPLv2+ Maintainer: Simon Josefsson