diff --git a/makefile b/makefile index f99c918..cea61d6 100644 --- a/makefile +++ b/makefile @@ -13,6 +13,8 @@ # You should have received a copy of the GNU General Public License # along with Cockpit Navigator. If not, see . +EL7_DIST=.el7 + default: @@ -21,7 +23,7 @@ all: default install: mkdir -p $(DESTDIR)/usr/share/cockpit/ cp -rpf navigator $(DESTDIR)/usr/share/cockpit -ifeq ($(DIST),".el7") +ifeq ($(DIST),$(EL7_DIST)) sed -i "s/pf-c-button/btn/g;s/pf-m-primary/btn-primary/g;s/pf-m-secondary/btn-default/g;s/pf-m-danger/btn-danger/g" $(DESTDIR)/usr/share/cockpit/navigator/navigator.html sed -i "s/pf-c-button/btn/g;s/pf-m-primary/btn-primary/g;s/pf-m-secondary/btn-default/g;s/pf-m-danger/btn-danger/g" $(DESTDIR)/usr/share/cockpit/navigator/components/ModalPrompt.js endif