X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fmisc-progs;h=420b61439ba7896822ed52daaf1f8f00f4995f3e;hp=6902ccac19165116982fce88e9e8bb5dc93a1bcc;hb=c0ac5ae2a77d85ab4575bbbca022f18898bead5f;hpb=fc992179a15a53c920d8f18e276624c0ace6a6ec diff --git a/lfs/misc-progs b/lfs/misc-progs index 6902ccac19..420b61439b 100644 --- a/lfs/misc-progs +++ b/lfs/misc-progs @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007-2018 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -48,16 +48,8 @@ md5 : $(TARGET) : @$(PREBUILD) - @rm -rf $(DIR_APP) $(DIR_SRC)/install+setup && cp -R $(DIR_SRC)/src/misc-progs/ $(DIR_SRC) - cp -R $(DIR_SRC)/src/install+setup/ $(DIR_SRC) - for i in $(DIR_SRC)/langs/*/install/lang_*.c ; do \ - cp $$i $(DIR_SRC)/install+setup/libsmooth; \ - done - cd $(DIR_SRC)/install+setup/libsmooth && chmod 755 makelangs.pl - cd $(DIR_SRC)/install+setup/libsmooth && make CFLAGS="$(CFLAGS) -Wall \ - -DNAME='\"$(NAME)\"' -DSNAME='\"$(SNAME)\"' -DVERSION='\"$(VERSION)\"' \ - -DSLOGAN='\"$(SLOGAN)\"' -DCONFIG_ROOT='\"$(CONFIG_ROOT)\"'" + @rm -rf $(DIR_APP) && cp -R $(DIR_SRC)/src/misc-progs/ $(DIR_SRC) cd $(DIR_APP) && make CFLAGS="$(CFLAGS) -Wall -DCONFIG_ROOT='\"$(CONFIG_ROOT)\"' -DSNAME='\"$(SNAME)\"'" cd $(DIR_APP) && make install - @rm -rf $(DIR_APP) $(DIR_SRC)/install+setup + @rm -rf $(DIR_APP) @$(POSTBUILD)