Rename to header makefile fragements to .mk
authorRalph Giles <giles@thaumas.net>
Thu, 5 Apr 2012 16:23:47 +0000 (09:23 -0700)
committerRalph Giles <giles@thaumas.net>
Thu, 5 Apr 2012 16:23:47 +0000 (09:23 -0700)
The opus_headers.txt, etc. files are makefile
fragments defining variables with a list of
required header files for the build. As such
they should use the .mk filename extension,
just like opus_sources.mk, etc.

Makefile.am
celt_headers.mk [moved from celt_headers.txt with 100% similarity]
doc/build_draft.sh
opus_headers.mk [moved from opus_headers.txt with 100% similarity]
silk_headers.mk [moved from silk_headers.txt with 100% similarity]

index 61a083f..5494440 100644 (file)
@@ -16,9 +16,9 @@ else
 SILK_SOURCES += $(SILK_SOURCES_FLOAT)
 endif
 
-include celt_headers.txt
-include silk_headers.txt
-include opus_headers.txt
+include celt_headers.mk
+include silk_headers.mk
+include opus_headers.mk
 
 libopus_la_SOURCES = $(CELT_SOURCES) $(SILK_SOURCES) $(OPUS_SOURCES)
 
similarity index 100%
rename from celt_headers.txt
rename to celt_headers.mk
index 3b8fe54..61b32c8 100755 (executable)
@@ -18,8 +18,8 @@ mkdir "${destdir}/silk/fixed"
 mkdir "${destdir}/celt"
 mkdir "${destdir}/include"
 for f in `cat "${toplevel}"/opus_sources.mk "${toplevel}"/celt_sources.mk \
- "${toplevel}"/silk_sources.mk "${toplevel}"/opus_headers.txt \
- "${toplevel}"/celt_headers.txt "${toplevel}"/silk_headers.txt \
+ "${toplevel}"/silk_sources.mk "${toplevel}"/opus_headers.mk \
+ "${toplevel}"/celt_headers.mk "${toplevel}"/silk_headers.mk \
  | grep '\.[ch]' | sed -e 's/^.*=//' -e 's/\\\\//'` ; do
   cp -a "${toplevel}/${f}" "${destdir}/${f}"
 done
similarity index 100%
rename from opus_headers.txt
rename to opus_headers.mk
similarity index 100%
rename from silk_headers.txt
rename to silk_headers.mk