]> git.proxmox.com Git - librados2-perl.git/blobdiff - Makefile
bump version to 1.4.1
[librados2-perl.git] / Makefile
index 04b62ba008772f4c360c4a004496040f23688951..a78f74e52c1f931e627ec4418b57cb376e0807ba 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ RADOS.c: RADOS.xs typemap
        mv RADOS.xsc RADOS.c
 
 RADOS.so: RADOS.c
-       gcc $(CFLAGS) -lrados -o RADOS.so RADOS.c
+       $(CC) $(CFLAGS) -o RADOS.so RADOS.c -lrados
 
 .PHONY: dinstall
 dinstall: deb
@@ -70,12 +70,11 @@ $(DSC): $(BUILDSRC)
 
 .PHONY: clean
 clean:
-       rm -rf *~ build *.deb *.changes *.buildinfo *.dsc *.tar.gz
-       find . -name '*~' -exec rm {} ';'
+       rm -rf $(PACKAGE)-[0-9]*/ *.deb *.changes *.buildinfo *.build *.tar.?z *.dsc
 
 .PHONY: distclean
 distclean: clean
 
 .PHONY: upload
 upload: $(DEB)
-       tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist buster --arch $(DEB_BUILD_ARCH)
+       tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist bookworm --arch $(DEB_BUILD_ARCH)