X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fbyteswap;h=6a3ce1525c76fb93de66e232df6c2b6468374203;hb=f196c56b40c000e32eb88317390dc5f3df632b37;hp=d76542d7775d6d8c9da086617d8c0286e06337e2;hpb=e8886c908325158b4e127ac82fbc4fb8918aad85;p=gnulib.git diff --git a/modules/byteswap b/modules/byteswap index d76542d77..6a3ce1525 100644 --- a/modules/byteswap +++ b/modules/byteswap @@ -2,7 +2,7 @@ Description: Swap bytes of 16, 32 and 64 bit values. Files: -lib/byteswap_.h +lib/byteswap.in.h m4/byteswap.m4 Depends-on: @@ -12,14 +12,14 @@ gl_BYTESWAP Makefile.am: BUILT_SOURCES += $(BYTESWAP_H) -EXTRA_DIST += byteswap_.h # We need the following in order to create when the system # doesn't have one. -byteswap.h: byteswap_.h +byteswap.h: byteswap.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ - cat $(srcdir)/byteswap_.h; \ - } > $@-t + cat $(srcdir)/byteswap.in.h; \ + } > $@-t && \ mv -f $@-t $@ MOSTLYCLEANFILES += byteswap.h byteswap.h-t @@ -27,7 +27,7 @@ Include: License: -LGPL +LGPLv2+ Maintainer: Oskar Liljeblad