Browse Source

Remove bash-isms from Makefile.

Stefano Cossu 1 year ago
parent
commit
2f61d787fa
2 changed files with 6 additions and 6 deletions
  1. 3 3
      .gitignore
  2. 3 3
      Makefile

+ 3 - 3
.gitignore

@@ -51,12 +51,12 @@ Module.symvers
 Mkfile.old
 dkms.conf
 
-# Keep files
-!.keep
-
 # Compiled binary files
 bin/*
 
+# Keep files
+!.keep
+
 # Compiled documentation
 docs/html/
 

+ 3 - 3
Makefile

@@ -151,13 +151,13 @@ install: lib ## Install library and dependencies to $PREFIX. May require sudo.
 	cd $(XXHASH_DIR); PREFIX=$(PREFIX) make install
 	mkdir -p $(DESTDIR)$(libdir)
 	mkdir -p $(DESTDIR)$(includedir)
-	cp liblsuprdf.{a,so} $(DESTDIR)$(libdir) && \
+	cp liblsuprdf.a liblsuprdf.so $(DESTDIR)$(libdir) && \
 		cp include/*.h $(EXT_H) $(DESTDIR)$(includedir)
 
 
 debug_install: install debug ## Install standard and debug libraries.
 	@echo "Installing debug library files in $(PREFIX)."
-	cp liblsuprdf_dbg.{a,so} $(DESTDIR)$(libdir)
+	cp liblsuprdf_dbg.a liblsuprdf_dbg.so $(DESTDIR)$(libdir)
 	
 
 .PHONY: clean ## Clean up artifacts, including language parsers.
@@ -166,7 +166,7 @@ clean:
 	rm -rf build/ dist/ lsup_rdf.egg-info/
 	rm -f *.so
 	rm -f include/codec/grammar_*.h
-	rm -f src/codec/{grammar,parser}_*.c
+	rm -f src/codec/grammar_*.c src/codec/parser_*.c
 
 
 .PHONY: deepclean ## Clean up external libraries.