Ignore:
Timestamp:
Dec 29, 2011, 7:41:16 PM (8 years ago)
Author:
sam
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.am

    r1119 r1120  
    2929        mkdir lolremez-$(LOLREMEZ_VERSION)/lol
    3030        mkdir lolremez-$(LOLREMEZ_VERSION)/lol/math
    31         cp $(top_srcdir)/src/real.cpp $(top_srcdir)/test/math/remez.cpp \
    32           lolremez-$(LOLREMEZ_VERSION)
    33         cat $(top_srcdir)/src/real.cpp | sed 's@core.h@lol/math/real.h@' > \
     31        cat $(top_srcdir)/test/math/remez.cpp | sed '/#if/,/^$$/d' > \
     32          lolremez-$(LOLREMEZ_VERSION)/remez.cpp
     33        cat $(top_srcdir)/src/real.cpp | sed 's@core.h@lol/math/real.h@' | sed '/#if/,/^$$/d' > \
    3434          lolremez-$(LOLREMEZ_VERSION)/real.cpp
    3535        cp $(top_srcdir)/src/lol/math/real.h \
Note: See TracChangeset for help on using the changeset viewer.