Browse Source

build: remove #if directives from remez.cpp when distributing LolRemez.

legacy
Sam Hocevar sam 13 years ago
parent
commit
8ec896f23f
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Makefile.am

+ 3
- 3
Makefile.am View File

@@ -28,9 +28,9 @@ lolremez-$(LOLREMEZ_VERSION).tar.gz:
mkdir lolremez-$(LOLREMEZ_VERSION)
mkdir lolremez-$(LOLREMEZ_VERSION)/lol
mkdir lolremez-$(LOLREMEZ_VERSION)/lol/math
cp $(top_srcdir)/src/real.cpp $(top_srcdir)/test/math/remez.cpp \
lolremez-$(LOLREMEZ_VERSION)
cat $(top_srcdir)/src/real.cpp | sed 's@core.h@lol/math/real.h@' > \
cat $(top_srcdir)/test/math/remez.cpp | sed '/#if/,/^$$/d' > \
lolremez-$(LOLREMEZ_VERSION)/remez.cpp
cat $(top_srcdir)/src/real.cpp | sed 's@core.h@lol/math/real.h@' | sed '/#if/,/^$$/d' > \
lolremez-$(LOLREMEZ_VERSION)/real.cpp
cp $(top_srcdir)/src/lol/math/real.h \
$(top_srcdir)/src/lol/math/matrix.h \


Loading…
Cancel
Save